NetHackW: fix rendering of animations
Animations render by changing map state and calling delay. When we delay, we must ensure map windoow has been updated to show latest state before we delay.
This commit is contained in:
@@ -1852,6 +1852,7 @@ void
|
||||
mswin_delay_output()
|
||||
{
|
||||
logDebug("mswin_delay_output()\n");
|
||||
mswin_map_update(mswin_hwnd_from_winid(WIN_MAP));
|
||||
Sleep(50);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user