summaryrefslogtreecommitdiff
path: root/src/genworld_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-08-21 12:47:24 +0000
committerrubidium <rubidium@openttd.org>2011-08-21 12:47:24 +0000
commit7b7869fba73a6f9923bb40ccbd7344255f890771 (patch)
tree6400d1090b67592b8e580b6e16be8ef4d13a0e68 /src/genworld_gui.cpp
parent37415b9cf7edaae66ca1fb35665894b9f9241127 (diff)
downloadopenttd-7b7869fba73a6f9923bb40ccbd7344255f890771.tar.xz
(svn r22786) -Codechange: rename genworld mutices to model_progress mutices
Diffstat (limited to 'src/genworld_gui.cpp')
-rw-r--r--src/genworld_gui.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/genworld_gui.cpp b/src/genworld_gui.cpp
index 566873528..8f464ca11 100644
--- a/src/genworld_gui.cpp
+++ b/src/genworld_gui.cpp
@@ -1396,10 +1396,10 @@ static void _SetGeneratingWorldProgress(GenWorldProgress cls, uint progress, uin
* paint thread. The 'other' thread already has the paint thread rights so
* this ensures us that we are waiting until the paint thread is done
* before we reacquire the mapgen rights */
- _genworld_mapgen_mutex->EndCritical();
- _genworld_paint_mutex->BeginCritical();
- _genworld_mapgen_mutex->BeginCritical();
- _genworld_paint_mutex->EndCritical();
+ _modal_progress_work_mutex->EndCritical();
+ _modal_progress_paint_mutex->BeginCritical();
+ _modal_progress_work_mutex->BeginCritical();
+ _modal_progress_paint_mutex->EndCritical();
_gws.timer = _realtime_tick;
}