From: Stas Sergeev Date: Wed, 25 May 2005 17:35:17 +0000 (+0000) Subject: This hopefully fixes the "lockup on supernova" problem. X-Git-Tag: 2.0~307 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=0ddb264313c09bbefa443bb9d67b7bb95fcf58c8;p=super-star-trek.git This hopefully fixes the "lockup on supernova" problem. The scenario I've seen was that warp() calls imove() which calls srawmaps(), which leaves the lrscan_window active. When nova kills you, all the game status was dumped to lrscan_window, and the question "play again?" in that window was effectively a lock-up. But I haven't tested the fact that the problem is really no longer happens. --- diff --git a/moving.c b/moving.c index b7afb93..2f08d08 100644 --- a/moving.c +++ b/moving.c @@ -209,6 +209,7 @@ no_quad_change: newcnd(); iattak = 0; drawmaps(0); + setwnd(message_window); return; }