summaryrefslogtreecommitdiff
path: root/src/video
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/video
parent236075e944b0d80d9e29b411f1936ba09c788c29 (diff)
downloadopenttd-37415b9cf7edaae66ca1fb35665894b9f9241127.tar.xz
(svn r22785) -Codechange: rename IsGeneratingWorld to HasModalProgress
Diffstat (limited to 'src/video')
-rw-r--r--src/video/sdl_v.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video/sdl_v.cpp b/src/video/sdl_v.cpp
index d53ebc5b3..a27866b84 100644
--- a/src/video/sdl_v.cpp
+++ b/src/video/sdl_v.cpp
@@ -594,7 +594,7 @@ void VideoDriver_SDL::MainLoop()
}
/* End of the critical part. */
- if (_draw_threaded && !IsGeneratingWorld()) {
+ if (_draw_threaded && !HasModalProgress()) {
_draw_mutex->SendSignal();
} else {
/* Oh, we didn't have threads, then just draw unthreaded */