summaryrefslogtreecommitdiff
path: root/openttd.c
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2006-09-03 22:07:28 +0000
committerrubidium <rubidium@openttd.org>2006-09-03 22:07:28 +0000
commit03f963af586f384de2346e9292f69021caec5a7b (patch)
tree53fdde2d9d1885beeab16ea42516beb84b8ba143 /openttd.c
parente98adc5d0a424a46c47b05a223417da41db83250 (diff)
downloadopenttd-03f963af586f384de2346e9292f69021caec5a7b.tar.xz
(svn r6365) -Cleanup: remove IsGeneratingWorld calls that are either not called or have no effect.
Diffstat (limited to 'openttd.c')
-rw-r--r--openttd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openttd.c b/openttd.c
index 30101e956..157df5aae 100644
--- a/openttd.c
+++ b/openttd.c
@@ -899,7 +899,7 @@ static void DoAutosave(void)
static void ScrollMainViewport(int x, int y)
{
- if (_game_mode != GM_MENU && !IsGeneratingWorld()) {
+ if (_game_mode != GM_MENU) {
Window *w = FindWindowById(WC_MAIN_WINDOW, 0);
assert(w);