diff options
author | rubidium <rubidium@openttd.org> | 2011-08-21 12:47:24 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2011-08-21 12:47:24 +0000 |
commit | 7b7869fba73a6f9923bb40ccbd7344255f890771 (patch) | |
tree | 6400d1090b67592b8e580b6e16be8ef4d13a0e68 /src/gfx.cpp | |
parent | 37415b9cf7edaae66ca1fb35665894b9f9241127 (diff) | |
download | openttd-7b7869fba73a6f9923bb40ccbd7344255f890771.tar.xz |
(svn r22786) -Codechange: rename genworld mutices to model_progress mutices
Diffstat (limited to 'src/gfx.cpp')
-rw-r--r-- | src/gfx.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gfx.cpp b/src/gfx.cpp index c468e6192..eb75ff91e 100644 --- a/src/gfx.cpp +++ b/src/gfx.cpp @@ -1557,14 +1557,14 @@ void DrawDirtyBlocks() 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(); - _genworld_mapgen_mutex->EndCritical(); + _modal_progress_paint_mutex->EndCritical(); + _modal_progress_work_mutex->EndCritical(); /* Wait a while and update _realtime_tick so we are given the rights */ CSleep(GENWORLD_REDRAW_TIMEOUT); _realtime_tick += GENWORLD_REDRAW_TIMEOUT; - _genworld_paint_mutex->BeginCritical(); - _genworld_mapgen_mutex->BeginCritical(); + _modal_progress_paint_mutex->BeginCritical(); + _modal_progress_work_mutex->BeginCritical(); } y = 0; |