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 8702e9517a
commit 2e5cd378d3
2 changed files with 5 additions and 1 deletions

View file

@ -1,5 +1,9 @@
D1X-Rebirth Changelog
20081119
--------
main/game.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

@ -1707,7 +1707,7 @@ int ostate_s=0;
void HandleDeathKey(int key)
{
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
if (key==KEY_PRINT_SCREEN) {