summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-16 18:05:12 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-16 18:15:50 +0300
commitac65e2c9b72e35a9e5a1a84da57ecdbd41e5923e (patch)
tree0feb142dc738715d3216f0832f94ae4c3716fc30 /src/net
parent117c99ff5c8358624df6d176860ac64c86b6fa5f (diff)
downloadmv-ac65e2c9b72e35a9e5a1a84da57ecdbd41e5923e.tar.gz
mv-ac65e2c9b72e35a9e5a1a84da57ecdbd41e5923e.tar.bz2
mv-ac65e2c9b72e35a9e5a1a84da57ecdbd41e5923e.tar.xz
mv-ac65e2c9b72e35a9e5a1a84da57ecdbd41e5923e.zip
Split ParticleEngine from Particle class.
Diffstat (limited to 'src/net')
-rw-r--r--src/net/eathena/beingrecv.cpp4
-rw-r--r--src/net/tmwa/beingrecv.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/net/eathena/beingrecv.cpp b/src/net/eathena/beingrecv.cpp
index 18c8c11b5..8be5df894 100644
--- a/src/net/eathena/beingrecv.cpp
+++ b/src/net/eathena/beingrecv.cpp
@@ -1140,7 +1140,7 @@ void BeingRecv::processBeingSpecialEffect(Net::MessageIn &msg)
const int effectType = msg.readInt32("effect type");
- if (Particle::enabled)
+ if (ParticleEngine::enabled)
effectManager->trigger(effectType, being);
// +++ need dehard code effectType == 3
@@ -1395,7 +1395,7 @@ void BeingRecv::processBeingSelfEffect(Net::MessageIn &msg)
}
const int effectType = msg.readInt32("effect type");
- if (Particle::enabled)
+ if (ParticleEngine::enabled)
effectManager->trigger(effectType, being);
BLOCK_END("BeingRecv::processBeingSelfEffect")
diff --git a/src/net/tmwa/beingrecv.cpp b/src/net/tmwa/beingrecv.cpp
index 6d473a853..d695e1734 100644
--- a/src/net/tmwa/beingrecv.cpp
+++ b/src/net/tmwa/beingrecv.cpp
@@ -1286,7 +1286,7 @@ void BeingRecv::processBeingSelfEffect(Net::MessageIn &msg)
const int effectType = msg.readInt32("effect type");
- if (Particle::enabled)
+ if (ParticleEngine::enabled)
effectManager->trigger(effectType, being);
// +++ need dehard code effectType == 3