equal
deleted
inserted
replaced
383 int x = GET_TILE_X(tile)*16; |
383 int x = GET_TILE_X(tile)*16; |
384 int y = GET_TILE_Y(tile)*16; |
384 int y = GET_TILE_Y(tile)*16; |
385 |
385 |
386 assert(_docommand_recursive == 0); |
386 assert(_docommand_recursive == 0); |
387 |
387 |
|
388 if (_networking && !(cmd & CMD_NET_INSTANT) && _pause) { |
|
389 // When the game is paused, and we are in a network game |
|
390 // we do not allow any commands. This is because |
|
391 // of some technical reasons |
|
392 ShowErrorMessage(-1, STR_MULTIPLAYER_PAUSED, x, y); |
|
393 _docommand_recursive = 0; |
|
394 return true; |
|
395 } |
|
396 |
388 _error_message = INVALID_STRING_ID; |
397 _error_message = INVALID_STRING_ID; |
389 _error_message_2 = cmd >> 16; |
398 _error_message_2 = cmd >> 16; |
390 _additional_cash_required = 0; |
399 _additional_cash_required = 0; |
391 |
400 |
392 // spectator has no rights. |
401 // spectator has no rights. |