summaryrefslogtreecommitdiffstats
path: root/src/objects/ParticleObject.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-04-11 01:04:56 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-04-11 01:04:56 +0200
commitc8ac25ebfdd068efb3c1aa53fcbd4efd0f7f6b33 (patch)
tree24985c610beec3d1e4ac1804851467b40d8ccb02 /src/objects/ParticleObject.cpp
parentRecord (diff)
parentfixing r* visioned leak (diff)
downloadre3-c8ac25ebfdd068efb3c1aa53fcbd4efd0f7f6b33.tar
re3-c8ac25ebfdd068efb3c1aa53fcbd4efd0f7f6b33.tar.gz
re3-c8ac25ebfdd068efb3c1aa53fcbd4efd0f7f6b33.tar.bz2
re3-c8ac25ebfdd068efb3c1aa53fcbd4efd0f7f6b33.tar.lz
re3-c8ac25ebfdd068efb3c1aa53fcbd4efd0f7f6b33.tar.xz
re3-c8ac25ebfdd068efb3c1aa53fcbd4efd0f7f6b33.tar.zst
re3-c8ac25ebfdd068efb3c1aa53fcbd4efd0f7f6b33.zip
Diffstat (limited to 'src/objects/ParticleObject.cpp')
-rw-r--r--src/objects/ParticleObject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/objects/ParticleObject.cpp b/src/objects/ParticleObject.cpp
index 9f7bcda5..60827411 100644
--- a/src/objects/ParticleObject.cpp
+++ b/src/objects/ParticleObject.cpp
@@ -154,7 +154,7 @@ CParticleObject::AddObject(uint16 type, CVector const &pos, CVector const &targe
pobj->m_nRemoveTimer = 0;
if ( color.alpha != 0 )
- pobj->m_Color, color;
+ pobj->m_Color = color;
else
pobj->m_Color.alpha = 0;