(svn r22785) -Codechange: rename IsGeneratingWorld to HasModalProgress
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user