mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-03-12 05:22:55 +00:00
Fix possible bug with talkmonster facing during the script (#213)
This commit is contained in:
parent
4e7111e434
commit
3e2808de62
@ -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…
x
Reference in New Issue
Block a user