From f9a7f96525c7485de4cf27f973f0b52f5d74f048 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 10 Jul 2016 22:03:10 +0300 Subject: Add support for initial particle effect for effect from status-effects.xml --- src/net/eathena/beingrecv.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/net/eathena/beingrecv.cpp') diff --git a/src/net/eathena/beingrecv.cpp b/src/net/eathena/beingrecv.cpp index a40639457..aac0dd914 100644 --- a/src/net/eathena/beingrecv.cpp +++ b/src/net/eathena/beingrecv.cpp @@ -971,9 +971,12 @@ void BeingRecv::processBeingStatusChange(Net::MessageIn &msg) msg.readInt32("val3"); } + IsStart start = msg.getVersion() == 20090121 ? + IsStart_false : IsStart_true; + Being *const dstBeing = actorManager->findBeing(id); if (dstBeing) - dstBeing->setStatusEffect(status, flag); + dstBeing->setStatusEffect(status, flag, start); BLOCK_END("BeingRecv::processBeingStatusChange") } -- cgit v1.2.3-70-g09d2