diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-12-22 02:20:36 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-12-22 02:20:36 +0300 |
commit | b54c0e944974669c4b5c1eb3f8018547c2179630 (patch) | |
tree | c0a08d7727f6aa0a1a9ed75f8ac14ec7a67f7a85 /src/net | |
parent | 1ff17739796e327e30a78b544be9865420d4c807 (diff) | |
download | manaplus-b54c0e944974669c4b5c1eb3f8018547c2179630.tar.gz manaplus-b54c0e944974669c4b5c1eb3f8018547c2179630.tar.bz2 manaplus-b54c0e944974669c4b5c1eb3f8018547c2179630.tar.xz manaplus-b54c0e944974669c4b5c1eb3f8018547c2179630.zip |
Remove default parameters from effectmanager.
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 30c6a932e..618f34f62 100644 --- a/src/net/eathena/beingrecv.cpp +++ b/src/net/eathena/beingrecv.cpp @@ -1447,7 +1447,7 @@ void BeingRecv::processBeingSpecialEffect(Net::MessageIn &msg) const int effectType = msg.readInt32("effect type"); if (ParticleEngine::enabled) - effectManager->trigger(effectType, being); + effectManager->trigger(effectType, being, 0); // +++ need dehard code effectType == 3 if (effectType == 3 && being->getType() == ActorType::Player @@ -1729,7 +1729,7 @@ void BeingRecv::processBeingSelfEffect(Net::MessageIn &msg) const int effectType = msg.readInt32("effect type"); if (ParticleEngine::enabled) - effectManager->trigger(effectType, being); + effectManager->trigger(effectType, being, 0); BLOCK_END("BeingRecv::processBeingSelfEffect") } diff --git a/src/net/tmwa/beingrecv.cpp b/src/net/tmwa/beingrecv.cpp index 874c5069f..82baa257c 100644 --- a/src/net/tmwa/beingrecv.cpp +++ b/src/net/tmwa/beingrecv.cpp @@ -1371,7 +1371,7 @@ void BeingRecv::processBeingSelfEffect(Net::MessageIn &msg) const int effectType = msg.readInt32("effect type"); if (ParticleEngine::enabled) - effectManager->trigger(effectType, being); + effectManager->trigger(effectType, being, 0); // +++ need dehard code effectType == 3 if (effectType == 3 && being->getType() == ActorType::Player |