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/?p=super-star-trek.git;a=commitdiff_plain;h=0ddb264313c09bbefa443bb9d67b7bb95fcf58c8;hp=6cd94d4cc2906e2c02553c9005f28616c7067292 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; }