diff options
author | rubidium <rubidium@openttd.org> | 2011-08-21 12:46:46 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2011-08-21 12:46:46 +0000 |
commit | 37415b9cf7edaae66ca1fb35665894b9f9241127 (patch) | |
tree | 6803ebb1c7b7f42d6ede002c794347e86f11f382 /src/openttd.cpp | |
parent | 236075e944b0d80d9e29b411f1936ba09c788c29 (diff) | |
download | openttd-37415b9cf7edaae66ca1fb35665894b9f9241127.tar.xz |
(svn r22785) -Codechange: rename IsGeneratingWorld to HasModalProgress
Diffstat (limited to 'src/openttd.cpp')
-rw-r--r-- | src/openttd.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/openttd.cpp b/src/openttd.cpp index a5fde97e9..6e105796e 100644 --- a/src/openttd.cpp +++ b/src/openttd.cpp @@ -1113,7 +1113,7 @@ void StateGameLoop() CallWindowTickEvent(); return; } - if (IsGeneratingWorld()) return; + if (HasModalProgress()) return; ClearStorageChanges(false); @@ -1217,7 +1217,7 @@ void GameLoop() /* Check for UDP stuff */ if (_network_available) NetworkUDPGameLoop(); - if (_networking && !IsGeneratingWorld()) { + if (_networking && !HasModalProgress()) { /* Multiplayer */ NetworkGameLoop(); } else { |