summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2019-10-12 11:08:09 +0200
committerSergeanur <s.anureev@yandex.ua>2019-10-12 11:08:09 +0200
commit3b1ae087b128fa468dbe624ee791c7e943d7fd9c (patch)
treeb7ca8aee37bf6a2a11e4c764872f603fc62738aa
parentTypo fix (diff)
downloadre3-3b1ae087b128fa468dbe624ee791c7e943d7fd9c.tar
re3-3b1ae087b128fa468dbe624ee791c7e943d7fd9c.tar.gz
re3-3b1ae087b128fa468dbe624ee791c7e943d7fd9c.tar.bz2
re3-3b1ae087b128fa468dbe624ee791c7e943d7fd9c.tar.lz
re3-3b1ae087b128fa468dbe624ee791c7e943d7fd9c.tar.xz
re3-3b1ae087b128fa468dbe624ee791c7e943d7fd9c.tar.zst
re3-3b1ae087b128fa468dbe624ee791c7e943d7fd9c.zip
-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++;