mirror of
https://github.com/FWGS/hlsdk-xash3d
synced 2024-11-22 01:47:45 +01:00
Fix being able to break scripted_sequence by +using friendly NPCs to make them follow player (#375)
This commit is contained in:
parent
1ed4c1d899
commit
991fd0cd4a
@ -1344,7 +1344,7 @@ void CTalkMonster::StartFollowing( CBaseEntity *pLeader )
|
||||
|
||||
BOOL CTalkMonster::CanFollow( void )
|
||||
{
|
||||
if( m_MonsterState == MONSTERSTATE_SCRIPT )
|
||||
if( m_MonsterState == MONSTERSTATE_SCRIPT || m_IdealMonsterState == MONSTERSTATE_SCRIPT )
|
||||
{
|
||||
if( !m_pCine )
|
||||
return FALSE;
|
||||
|
Loading…
Reference in New Issue
Block a user