From 3b1ae087b128fa468dbe624ee791c7e943d7fd9c Mon Sep 17 00:00:00 2001 From: Sergeanur Date: Sat, 12 Oct 2019 12:08:09 +0300 Subject: Logic fix in CParticleObject::UpdateAll --- src/objects/ParticleObject.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/objects') 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++; -- cgit v1.2.3