summaryrefslogtreecommitdiff
path: root/src/gfx.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-08-21 12:46:46 +0000
committerrubidium <rubidium@openttd.org>2011-08-21 12:46:46 +0000
commit37415b9cf7edaae66ca1fb35665894b9f9241127 (patch)
tree6803ebb1c7b7f42d6ede002c794347e86f11f382 /src/gfx.cpp
parent236075e944b0d80d9e29b411f1936ba09c788c29 (diff)
downloadopenttd-37415b9cf7edaae66ca1fb35665894b9f9241127.tar.xz
(svn r22785) -Codechange: rename IsGeneratingWorld to HasModalProgress
Diffstat (limited to 'src/gfx.cpp')
-rw-r--r--src/gfx.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gfx.cpp b/src/gfx.cpp
index 300a33ecf..c468e6192 100644
--- a/src/gfx.cpp
+++ b/src/gfx.cpp
@@ -1554,7 +1554,7 @@ void DrawDirtyBlocks()
int x;
int y;
- if (IsGeneratingWorld()) {
+ if (HasModalProgress()) {
/* We are generating the world, so release our rights to the map and
* painting while we are waiting a bit. */
_genworld_paint_mutex->EndCritical();