diff options
Diffstat (limited to 'src/gfx.cpp')
-rw-r--r-- | src/gfx.cpp | 2 |
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(); |