Added PlayerRespawning event
Allows denying player respawns for better control on special game modes e.g. Last Man Standing.
This commit is contained in:
parent
567a180d2b
commit
a7d4d409a0
7 changed files with 50 additions and 5 deletions
|
|
@ -838,7 +838,7 @@ void FLevelLocals::ChangeLevel(const char *levelname, int position, int inflags,
|
|||
player->mo->special1 = 0;
|
||||
}
|
||||
// ]]
|
||||
DoReborn(i, false);
|
||||
DoReborn(i, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue