Repair --nogui option which would enter an infinite loop.
Someone should review if this was the right way to fix it.
This commit is contained in:
parent
cfd4cf22b6
commit
47e624306d
1 changed files with 1 additions and 0 deletions
|
@ -892,6 +892,7 @@ void unit_animator::wait_until(int animation_time) const
|
|||
}
|
||||
void unit_animator::wait_for_end() const
|
||||
{
|
||||
if (game_config::no_delay) return;
|
||||
bool finished = false;
|
||||
game_display*disp = game_display::get_singleton();
|
||||
while(!finished) {
|
||||
|
|
Loading…
Add table
Reference in a new issue