mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-01-25 22:24:16 +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_MonsterState == MONSTERSTATE_SCRIPT )
|
||||||
{
|
{
|
||||||
|
if( !m_pCine )
|
||||||
|
return FALSE;
|
||||||
if( !m_pCine->CanInterrupt() )
|
if( !m_pCine->CanInterrupt() )
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user