Actually demand ANY valid key to abort the Death sequence
This commit is contained in:
parent
8702e9517a
commit
2e5cd378d3
|
@ -1,5 +1,9 @@
|
||||||
D1X-Rebirth Changelog
|
D1X-Rebirth Changelog
|
||||||
|
|
||||||
|
20081119
|
||||||
|
--------
|
||||||
|
main/game.c: Actually demand ANY valid key to abort the Death sequence
|
||||||
|
|
||||||
20081118
|
20081118
|
||||||
--------
|
--------
|
||||||
main/console.c: When printing Gamelog, make sure canvas is NULL
|
main/console.c: When printing Gamelog, make sure canvas is NULL
|
||||||
|
|
|
@ -1707,7 +1707,7 @@ int ostate_s=0;
|
||||||
|
|
||||||
void HandleDeathKey(int key)
|
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
|
Death_sequence_aborted = 1; //Any key but func or modifier aborts
|
||||||
|
|
||||||
if (key==KEY_PRINT_SCREEN) {
|
if (key==KEY_PRINT_SCREEN) {
|
||||||
|
|
Loading…
Reference in a new issue