We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 13086d3 commit 8a7a2d0Copy full SHA for 8a7a2d0
dlls/scripted.cpp
@@ -1073,7 +1073,7 @@ BOOL CScriptedSentence::AcceptableSpeaker( CBaseToggle *pTarget )
1073
1074
if( hTarget != 0 )
1075
{
1076
- CBaseMonster *pMonster = (CBaseMonster*)( (CBaseEntity*)hTarget );
+ pMonster = (CBaseMonster*)( (CBaseEntity*)hTarget );
1077
if( pev->spawnflags & SF_SENTENCE_FOLLOWERS )
1078
1079
if( pMonster->m_hTargetEnt == 0 || !pMonster->m_hTargetEnt->IsPlayer() )
0 commit comments