Prevent crash when pressed USE and called scripted_sequence.

This commit is contained in:
Night Owl 2016-11-30 01:41:14 +05:00
parent 21317e7da3
commit 2d0ef9914a

View File

@ -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;
} }