From 3e2808de62e479e83068c075cb88b4f177f9acc7 Mon Sep 17 00:00:00 2001 From: Roman Chistokhodov Date: Sun, 28 Nov 2021 23:04:50 +0300 Subject: [PATCH] Fix possible bug with talkmonster facing during the script (#213) --- dlls/talkmonster.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dlls/talkmonster.cpp b/dlls/talkmonster.cpp index 581d87a9..2b3ac14f 100644 --- a/dlls/talkmonster.cpp +++ b/dlls/talkmonster.cpp @@ -847,7 +847,8 @@ void CTalkMonster::Touch( CBaseEntity *pOther ) if( speed > 50.0f ) { SetConditions( bits_COND_CLIENT_PUSH ); - MakeIdealYaw( pOther->pev->origin ); + if ( m_MonsterState != MONSTERSTATE_SCRIPT ) + MakeIdealYaw( pOther->pev->origin ); } } }