Skip to content

Commit bc9a4c3

Browse files
committed
Update particle_property.cpp
1 parent 2fe13e8 commit bc9a4c3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/game/shared/particle_property.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -561,10 +561,10 @@ void CParticleProperty::UpdateControlPoint( ParticleEffectList_t *pEffect, int i
561561

562562
#ifdef TF_CLIENT_DLL
563563

564-
CBaseEntity* pWearable = (CBaseEntity*)pPoint->hEntity.Get();
565-
if (pWearable && GetAttribInterface(pWearable) && !pWearable->IsPlayer())
564+
CBaseEntity* pEnt = (CBaseEntity*)pPoint->hEntity.Get();
565+
if (pEnt && GetAttribInterface(pEnt) && !pEnt->IsPlayer())
566566
{
567-
CTFWearable* pTFWearable = dynamic_cast<CTFWearable*>(pWearable);
567+
CTFWearable* pTFWearable = dynamic_cast<CTFWearable*>(pEnt);
568568

569569
if (pTFWearable)
570570
{

0 commit comments

Comments
 (0)