mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-02-09 05:24:17 +00:00
Fix creating checkpoint in spectator mode
This commit is contained in:
parent
309dbf57ae
commit
7a881f2a82
@ -487,7 +487,7 @@ void UTIL_CoopProcessMenu( CBasePlayer *pPlayer, int imenu )
|
||||
case MENUSTATE_CHECKPOINT:
|
||||
if( imenu == 1 )
|
||||
{
|
||||
if( pPlayer->m_state == STATE_SPECTATOR_BEGIN )
|
||||
if( pPlayer->m_state != STATE_SPAWNED )
|
||||
UTIL_SpawnPlayer( pPlayer );
|
||||
else if( !UTIL_CoopIsBadPlayer( pPlayer ) )
|
||||
UTIL_CoopNewCheckpoint( pPlayer->pev );
|
||||
|
Loading…
x
Reference in New Issue
Block a user