forked from mirror/OpenTTD
(svn r97) -Fix: two non-AI players when loading a scenario
This commit is contained in:
4
ttd.c
4
ttd.c
@@ -1093,10 +1093,6 @@ bool AfterLoadGame(uint version)
|
|||||||
CheckIsPlayerActive();
|
CheckIsPlayerActive();
|
||||||
}
|
}
|
||||||
|
|
||||||
// in case the player doesn't exist, create one (for scenario)
|
|
||||||
if (!_players[0].is_active)
|
|
||||||
DoStartupNewPlayer(false);
|
|
||||||
|
|
||||||
DoZoomInOut(ZOOM_NONE); // update button status
|
DoZoomInOut(ZOOM_NONE); // update button status
|
||||||
MarkWholeScreenDirty();
|
MarkWholeScreenDirty();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user