Actually demand ANY valid key to abort the Death sequence

This commit is contained in:
zicodxx 2008-11-19 12:34:50 +00:00
parent 8cc3cad3b0
commit 7d9e7d9bfc
2 changed files with 5 additions and 1 deletions

View file

@ -1,5 +1,9 @@
D2X-Rebirth Changelog
20081119
--------
main/gamecntl.c: Actually demand ANY valid key to abort the Death sequence
20081118
--------
main/console.c: When printing Gamelog, make sure canvas is NULL

View file

@ -629,7 +629,7 @@ void HandleDeathKey(int key)
doesn't work in the DOS version anyway. -Samir
*/
if (Player_exploded && !key_isfunc(key) && !key_ismod(key))
if (Player_exploded && !key_isfunc(key) && !key_ismod(key) && key)
Death_sequence_aborted = 1; //Any key but func or modifier aborts
#ifdef MACINTOSH