In ReadControls, continue executing code even if HandleDeathInput handled a key event
This allows the player to press a movement key to respawn after death, and the same keypress will cause the ship to move. Now this works with the option 'when dead, respawn by pressing any key' as well as 'when dead, respawn by pressing the Fire key'.
This commit is contained in:
parent
88b5e616a9
commit
f7471af2d6
|
@ -1866,8 +1866,7 @@ window_event_result ReadControls(const d_event &event)
|
||||||
(multi_sending_message[Player_num] || multi_defining_message)
|
(multi_sending_message[Player_num] || multi_defining_message)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
if (HandleDeathInput(event))
|
HandleDeathInput(event);
|
||||||
return window_event_result::handled;
|
|
||||||
|
|
||||||
if (Newdemo_state == ND_STATE_PLAYBACK)
|
if (Newdemo_state == ND_STATE_PLAYBACK)
|
||||||
update_vcr_state();
|
update_vcr_state();
|
||||||
|
|
Loading…
Reference in a new issue