mirror of
https://github.com/FWGS/hlsdk-xash3d
synced 2024-11-23 18:29:36 +01:00
Fix unreferenced variable.
This commit is contained in:
parent
13086d3b5d
commit
d1aa71d59d
@ -1073,7 +1073,7 @@ BOOL CScriptedSentence::AcceptableSpeaker( CBaseToggle *pTarget )
|
||||
|
||||
if( hTarget != 0 )
|
||||
{
|
||||
CBaseMonster *pMonster = (CBaseMonster*)( (CBaseEntity*)hTarget );
|
||||
pMonster = (CBaseMonster*)( (CBaseEntity*)hTarget );
|
||||
if( pev->spawnflags & SF_SENTENCE_FOLLOWERS )
|
||||
{
|
||||
if( pMonster->m_hTargetEnt == 0 || !pMonster->m_hTargetEnt->IsPlayer() )
|
||||
|
Loading…
Reference in New Issue
Block a user