Base: Unset think() of the player if they're alive and switching weapons.
This commit is contained in:
parent
c821112d05
commit
148c5f0e86
2 changed files with 7 additions and 1 deletions
|
@ -142,6 +142,12 @@ Weapons_Draw(void)
|
|||
pl.w_idle_next = 2.5f;
|
||||
pl.viewzoom = 1.0f;
|
||||
|
||||
/* we're meant to respawn when we're dead, don't unset! */
|
||||
if (pl.health > 0) {
|
||||
pl.think = __NULL__;
|
||||
pl.nextthink = 0.0f;
|
||||
}
|
||||
|
||||
#ifdef CLIENT
|
||||
entity eold = self;
|
||||
self = pSeat->m_pWeaponFX;
|
||||
|
|
|
@ -14,4 +14,4 @@ sub-directories.
|
|||
|
||||
That's about it.
|
||||
|
||||
Join us on #freecs at irc.freenode.org
|
||||
Join us on #nuclide at irc.libera.chat
|
||||
|
|
Loading…
Reference in a new issue