(svn r23843) -Fix: minor issue with replaying ;)
This commit is contained in:
@@ -264,7 +264,7 @@ static void DistributeQueue(CommandQueue *queue, const NetworkClientSocket *owne
|
|||||||
{
|
{
|
||||||
#ifdef DEBUG_DUMP_COMMANDS
|
#ifdef DEBUG_DUMP_COMMANDS
|
||||||
/* When replaying we do not want this limitation. */
|
/* When replaying we do not want this limitation. */
|
||||||
int to_go = MAX_UINT16;
|
int to_go = UINT16_MAX;
|
||||||
#else
|
#else
|
||||||
int to_go = _settings_client.network.commands_per_frame;
|
int to_go = _settings_client.network.commands_per_frame;
|
||||||
#endif
|
#endif
|
||||||
|
@@ -44,7 +44,7 @@
|
|||||||
* There's basically no need to ever enable this, unless you really know what
|
* There's basically no need to ever enable this, unless you really know what
|
||||||
* you are doing, i.e. debugging a desync.
|
* you are doing, i.e. debugging a desync.
|
||||||
*
|
*
|
||||||
* NOTE: Define DEBUG_DUMP_COMMANDS in network.h or globally, else it does not
|
* NOTE: Define DEBUG_DUMP_COMMANDS in network_func.h or globally, else it does not
|
||||||
* have enough effects. For example CmdCompanyCtrl needs it to be able
|
* have enough effects. For example CmdCompanyCtrl needs it to be able
|
||||||
* to create companies when there are not clients on this server.
|
* to create companies when there are not clients on this server.
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user