Browse Source

Fix possible bug with talkmonster facing during the script (#213)

hl_urbicide
Roman Chistokhodov 3 years ago committed by GitHub
parent
commit
3e2808de62
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      dlls/talkmonster.cpp

3
dlls/talkmonster.cpp

@ -847,7 +847,8 @@ void CTalkMonster::Touch( CBaseEntity *pOther )
if( speed > 50.0f ) if( speed > 50.0f )
{ {
SetConditions( bits_COND_CLIENT_PUSH ); SetConditions( bits_COND_CLIENT_PUSH );
MakeIdealYaw( pOther->pev->origin ); if ( m_MonsterState != MONSTERSTATE_SCRIPT )
MakeIdealYaw( pOther->pev->origin );
} }
} }
} }

Loading…
Cancel
Save