Browse Source

Fix being able to break scripted_sequence by +using friendly NPCs to make them follow player (#375)

fix-cwd-path
Roman Chistokhodov 2 years ago committed by GitHub
parent
commit
991fd0cd4a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      dlls/talkmonster.cpp

2
dlls/talkmonster.cpp

@ -1344,7 +1344,7 @@ void CTalkMonster::StartFollowing( CBaseEntity *pLeader ) @@ -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…
Cancel
Save