Changeset - r215:8ce1e7d0e69e
[Not reviewed]
master
0 2 0
truelight - 20 years ago 2004-09-12 17:36:29
truelight@openttd.org
(svn r216) -Fix: paused network game now disallows all commands (instead of doing
the commands all at once when the game unpauses)
2 files changed with 10 insertions and 0 deletions:
0 comments (0 inline, 0 general)
command.c
Show inline comments
 
@@ -385,6 +385,15 @@ bool DoCommandP(TileIndex tile, uint32 p
 

	
 
	assert(_docommand_recursive == 0);
 

	
 
	if (_networking && !(cmd & CMD_NET_INSTANT) && _pause) {
 
		// When the game is paused, and we are in a network game
 
		//  we do not allow any commands. This is because
 
		//  of some technical reasons
 
		ShowErrorMessage(-1, STR_MULTIPLAYER_PAUSED, x, y);
 
		_docommand_recursive = 0;
 
		return true;
 
	}
 

	
 
	_error_message = INVALID_STRING_ID;
 
	_error_message_2 = cmd >> 16;
 
	_additional_cash_required = 0;
lang/english.txt
Show inline comments
 
@@ -2556,6 +2556,7 @@ STR_B006_FLOOD_VEHICLE_DESTROYED		:{BLAC
 
STR_BRIBE_FAILED					:{WHITE}Your attempted bribery has been
 
STR_BRIBE_FAILED_2				:{WHITE}discovered by a regional investigator
 
STR_BUILD_DATE						:{BLACK}Built: {LTBLUE}{DATE_LONG}
 
STR_MULTIPLAYER_PAUSED				:{WHITE}Game is paused.{}Command cannot be executed
 

	
 
STR_PERFORMANCE_DETAIL			:{WHITE}Detail performance rating
 
STR_PERFORMANCE_DETAIL_KEY		:{BLACK}Detail
0 comments (0 inline, 0 general)