summaryrefslogtreecommitdiff
path: root/src/network/network_command.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/network_command.cpp')
-rw-r--r--src/network/network_command.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/network_command.cpp b/src/network/network_command.cpp
index ef8a33804..41f853f15 100644
--- a/src/network/network_command.cpp
+++ b/src/network/network_command.cpp
@@ -264,7 +264,7 @@ static void DistributeQueue(CommandQueue *queue, const NetworkClientSocket *owne
{
#ifdef DEBUG_DUMP_COMMANDS
/* When replaying we do not want this limitation. */
- int to_go = MAX_UINT16;
+ int to_go = UINT16_MAX;
#else
int to_go = _settings_client.network.commands_per_frame;
#endif