From: Bart House Date: Sat, 23 Jan 2021 20:04:16 +0000 (-0800) Subject: NetHackW: fix rendering of animations X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a124114bce9d6505dcf949eb1a463f94640c0dcf;p=nethack 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. --- diff --git a/win/win32/mswproc.c b/win/win32/mswproc.c index 4e675671f..141a4e96f 100644 --- a/win/win32/mswproc.c +++ b/win/win32/mswproc.c @@ -1852,6 +1852,7 @@ void mswin_delay_output() { logDebug("mswin_delay_output()\n"); + mswin_map_update(mswin_hwnd_from_winid(WIN_MAP)); Sleep(50); }