From a67cf6bae1ffdea7d5451160c8cfa0df691eb963 Mon Sep 17 00:00:00 2001 From: rubidium Date: Sun, 21 Aug 2011 12:47:45 +0000 Subject: (svn r22787) -Codechange: rename genworld redraw constant --- src/genworld_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/genworld_gui.cpp') diff --git a/src/genworld_gui.cpp b/src/genworld_gui.cpp index 8f464ca11..07210de57 100644 --- a/src/genworld_gui.cpp +++ b/src/genworld_gui.cpp @@ -1365,7 +1365,7 @@ static void _SetGeneratingWorldProgress(GenWorldProgress cls, uint progress, uin } /* Don't update the screen too often. So update it once in every once in a while... */ - if (!_network_dedicated && _gws.timer != 0 && _realtime_tick - _gws.timer < GENWORLD_REDRAW_TIMEOUT) return; + if (!_network_dedicated && _gws.timer != 0 && _realtime_tick - _gws.timer < MODAL_PROGRESS_REDRAW_TIMEOUT) return; /* Percentage is about the number of completed tasks, so 'current - 1' */ _gws.percent = percent_table[cls] + (percent_table[cls + 1] - percent_table[cls]) * (_gws.current == 0 ? 0 : _gws.current - 1) / _gws.total; -- cgit v1.2.3-54-g00ecf