(svn r18850) -Fix [FS#3540]: don't allow screen redraw when the landscape contains broken slopes

This commit is contained in:
smatz
2010-01-17 20:28:08 +00:00
parent 75395dc8ce
commit 3850b5912f
2 changed files with 9 additions and 11 deletions

View File

@@ -1250,6 +1250,7 @@ static void _SetGeneratingWorldProgress(gwp_class cls, uint progress, uint total
if (total == 0) {
assert(_tp.cls == _generation_class_table[cls]);
_tp.current += progress;
assert(_tp.current <= _tp.total);
} else {
_tp.cls = _generation_class_table[cls];
_tp.current = progress;