#R715 -- tombstone bulletproofing

Prevent an end-of-game panic if the tombstone window cannot
be made.
This commit is contained in:
kmhugo
2002-03-31 05:21:53 +00:00
parent 531f703cd0
commit d6de3fa890

View File

@@ -738,7 +738,8 @@ die:
if(!done_stopprint || flags.tombstone)
endwin = create_nhwindow(NHW_TEXT);
if(how < GENOCIDED && flags.tombstone) outrip(endwin, how);
if (how < GENOCIDED && flags.tombstone && endwin != WIN_ERR)
outrip(endwin, how);
} else
done_stopprint = 1; /* just avoid any more output */