diff options
Diffstat (limited to 'src/genworld_gui.cpp')
-rw-r--r-- | src/genworld_gui.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/genworld_gui.cpp b/src/genworld_gui.cpp index 20417b68f..9fae22386 100644 --- a/src/genworld_gui.cpp +++ b/src/genworld_gui.cpp @@ -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; |