From 7b7869fba73a6f9923bb40ccbd7344255f890771 Mon Sep 17 00:00:00 2001 From: rubidium Date: Sun, 21 Aug 2011 12:47:24 +0000 Subject: (svn r22786) -Codechange: rename genworld mutices to model_progress mutices --- src/gfx.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/gfx.cpp') 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; -- cgit v1.2.3-54-g00ecf