Changeset - r15086:0902a378b4c5
[Not reviewed]
master
0 1 0
rubidium - 14 years ago 2010-04-25 16:12:03
rubidium@openttd.org
(svn r19722) -Fix: crash when using restart via rcon.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/console_cmds.cpp
Show inline comments
 
@@ -1006,7 +1006,7 @@ DEF_CONSOLE_CMD(ConRestart)
 
	/* Don't copy the _newgame pointers to the real pointers, so call SwitchToMode directly */
 
	_settings_game.game_creation.map_x = MapLogX();
 
	_settings_game.game_creation.map_y = FindFirstBit(MapSizeY());
 
	SwitchToMode(SM_RESTARTGAME);
 
	_switch_mode = SM_RESTARTGAME;
 
	return true;
 
}
 

	
0 comments (0 inline, 0 general)