mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-02-03 02:24:28 +00:00
Fix gonome's player locking
This commit is contained in:
parent
acd367d7d0
commit
1db20d8a81
@ -242,7 +242,7 @@ void CGonome::UnlockPlayer()
|
|||||||
else // if ehandle is empty for some reason just unlock the first player
|
else // if ehandle is empty for some reason just unlock the first player
|
||||||
player = (CBasePlayer*)UTIL_FindEntityByClassname(0, "player");
|
player = (CBasePlayer*)UTIL_FindEntityByClassname(0, "player");
|
||||||
|
|
||||||
if (player && player->IsAlive())
|
if (player)
|
||||||
player->EnableControl(TRUE);
|
player->EnableControl(TRUE);
|
||||||
|
|
||||||
m_lockedPlayer = 0;
|
m_lockedPlayer = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user