summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-22 02:20:36 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-22 02:20:36 +0300
commitb54c0e944974669c4b5c1eb3f8018547c2179630 (patch)
treec0a08d7727f6aa0a1a9ed75f8ac14ec7a67f7a85 /src/net
parent1ff17739796e327e30a78b544be9865420d4c807 (diff)
downloadmanaverse-b54c0e944974669c4b5c1eb3f8018547c2179630.tar.gz
manaverse-b54c0e944974669c4b5c1eb3f8018547c2179630.tar.bz2
manaverse-b54c0e944974669c4b5c1eb3f8018547c2179630.tar.xz
manaverse-b54c0e944974669c4b5c1eb3f8018547c2179630.zip
Remove default parameters from effectmanager.
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 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