From b54c0e944974669c4b5c1eb3f8018547c2179630 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 22 Dec 2017 02:20:36 +0300 Subject: Remove default parameters from effectmanager. --- src/net/eathena/beingrecv.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/net/eathena') 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") } -- cgit v1.2.3-60-g2f50