diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-03-16 18:05:12 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-03-16 18:15:50 +0300 |
commit | ac65e2c9b72e35a9e5a1a84da57ecdbd41e5923e (patch) | |
tree | 0feb142dc738715d3216f0832f94ae4c3716fc30 /src/net | |
parent | 117c99ff5c8358624df6d176860ac64c86b6fa5f (diff) | |
download | manaplus-ac65e2c9b72e35a9e5a1a84da57ecdbd41e5923e.tar.gz manaplus-ac65e2c9b72e35a9e5a1a84da57ecdbd41e5923e.tar.bz2 manaplus-ac65e2c9b72e35a9e5a1a84da57ecdbd41e5923e.tar.xz manaplus-ac65e2c9b72e35a9e5a1a84da57ecdbd41e5923e.zip |
Split ParticleEngine from Particle class.
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/eathena/beingrecv.cpp | 4 | ||||
-rw-r--r-- | src/net/tmwa/beingrecv.cpp | 2 |
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 |