From 2d0ef9914ae871a9d5824e64fb727aadb2af2c97 Mon Sep 17 00:00:00 2001 From: Night Owl Date: Wed, 30 Nov 2016 01:41:14 +0500 Subject: [PATCH] Prevent crash when pressed USE and called scripted_sequence. --- dlls/talkmonster.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dlls/talkmonster.cpp b/dlls/talkmonster.cpp index a0a52f52..d832c2cc 100644 --- a/dlls/talkmonster.cpp +++ b/dlls/talkmonster.cpp @@ -1342,6 +1342,8 @@ BOOL CTalkMonster::CanFollow( void ) { if( m_MonsterState == MONSTERSTATE_SCRIPT ) { + if( !m_pCine ) + return FALSE; if( !m_pCine->CanInterrupt() ) return FALSE; }