summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2004-08-20 17:28:49 +0000
committertruelight <truelight@openttd.org>2004-08-20 17:28:49 +0000
commite1eef24ed797a70f775ffcb63beb570e46c467a5 (patch)
treea969a5ccae34ca2c6871bc240bab1d2b52d4e491
parentb783051b7031366ee77dc080066f1eccf4a0afe3 (diff)
downloadopenttd-e1eef24ed797a70f775ffcb63beb570e46c467a5.tar.xz
(svn r97) -Fix: two non-AI players when loading a scenario
-rw-r--r--ttd.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/ttd.c b/ttd.c
index 73966b8c1..1ea0ef015 100644
--- a/ttd.c
+++ b/ttd.c
@@ -1093,10 +1093,6 @@ bool AfterLoadGame(uint version)
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
MarkWholeScreenDirty();