summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/objects/ParticleObject.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/objects/ParticleObject.cpp b/src/objects/ParticleObject.cpp
index 2171cd76..35811289 100644
--- a/src/objects/ParticleObject.cpp
+++ b/src/objects/ParticleObject.cpp
@@ -399,10 +399,10 @@ CParticleObject::UpdateAll(void)
{
nextpobj = pobj->m_pNext;
- if ( counter == counter )
+ if ( counter == frame )
{
pobj->UpdateFar();
- counter += 32;
+ frame += 32;
}
counter++;