input: add a hacky quick-respawn (needs proper multiplayer separation...)
This commit is contained in:
parent
3db04eb85b
commit
7637686ace
1 changed files with 5 additions and 0 deletions
|
@ -23,6 +23,11 @@ Game_Input(player pl)
|
|||
if (rules.m_iIntermission) {
|
||||
rules.IntermissionEnd();
|
||||
return;
|
||||
} else {
|
||||
if (input_buttons & INPUT_BUTTON0)
|
||||
if (pl.IsAlive() == false)
|
||||
if (pl.TimeSinceDeath() > 0.5f) /* allow for some time to pass */
|
||||
pl.ScheduleThink(PutClientInServer, 0.0f);
|
||||
}
|
||||
|
||||
if (input_buttons & INPUT_BUTTON5)
|
||||
|
|
Loading…
Reference in a new issue