mirror of
https://github.com/ZDoom/Raze.git
synced 2025-04-23 00:11:03 +00:00
- WH: enable level restart after death.
This commit is contained in:
parent
b0099fc513
commit
3fa9e7894b
1 changed files with 6 additions and 0 deletions
|
@ -199,6 +199,12 @@ void processinput(int num) {
|
|||
if (plr.dead) {
|
||||
if (plr.horizon.horiz.asq16() < gi->playerHorizMax())
|
||||
plr.horizon.addadjustment(TICSPERFRAME << 1);
|
||||
|
||||
if (bits & (SB_FIRE | SB_OPEN))
|
||||
{
|
||||
// restart;
|
||||
gameaction = ga_autoloadgame;
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue