mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-01-11 15:38:12 +00:00
Prevent crash when pressed USE and called scripted_sequence.
This commit is contained in:
parent
21317e7da3
commit
2d0ef9914a
@ -1342,6 +1342,8 @@ BOOL CTalkMonster::CanFollow( void )
|
||||
{
|
||||
if( m_MonsterState == MONSTERSTATE_SCRIPT )
|
||||
{
|
||||
if( !m_pCine )
|
||||
return FALSE;
|
||||
if( !m_pCine->CanInterrupt() )
|
||||
return FALSE;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user