This hopefully fixes the "lockup on supernova" problem.
authorStas Sergeev <stsp@aknet.ru>
Wed, 25 May 2005 17:35:17 +0000 (17:35 +0000)
committerStas Sergeev <stsp@aknet.ru>
Wed, 25 May 2005 17:35:17 +0000 (17:35 +0000)
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.

moving.c

index b7afb93ceb2837024e72d4e5c526405858cf6173..2f08d0840b0173d7ef9d5958e7f69637e4eb5715 100644 (file)
--- a/moving.c
+++ b/moving.c
@@ -209,6 +209,7 @@ no_quad_change:
     newcnd();
     iattak = 0;
     drawmaps(0);
+    setwnd(message_window);
     return;
 }