summaryrefslogtreecommitdiff
path: root/src/net/tmwa/beingrecv.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-07-10 22:03:10 +0300
committerAndrei Karas <akaras@inbox.ru>2016-07-10 22:03:10 +0300
commitf9a7f96525c7485de4cf27f973f0b52f5d74f048 (patch)
treebe1ed401dffb832f9d923760ac89ad415cfc4d7f /src/net/tmwa/beingrecv.cpp
parent314147c53d571345436d2def199213fa71f22c9d (diff)
downloadplus-f9a7f96525c7485de4cf27f973f0b52f5d74f048.tar.gz
plus-f9a7f96525c7485de4cf27f973f0b52f5d74f048.tar.bz2
plus-f9a7f96525c7485de4cf27f973f0b52f5d74f048.tar.xz
plus-f9a7f96525c7485de4cf27f973f0b52f5d74f048.zip
Add support for initial particle effect for effect from status-effects.xml
Diffstat (limited to 'src/net/tmwa/beingrecv.cpp')
-rw-r--r--src/net/tmwa/beingrecv.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/net/tmwa/beingrecv.cpp b/src/net/tmwa/beingrecv.cpp
index a489d4179..843e10f1d 100644
--- a/src/net/tmwa/beingrecv.cpp
+++ b/src/net/tmwa/beingrecv.cpp
@@ -1137,7 +1137,11 @@ void BeingRecv::processBeingStatusChange(Net::MessageIn &msg)
Being *const dstBeing = actorManager->findBeing(id);
if (dstBeing)
- dstBeing->setStatusEffect(status, flag);
+ {
+ // dont know on legacy servers is effect really started
+ // or not. Because this always sending IsStart_true
+ dstBeing->setStatusEffect(status, flag, IsStart_true);
+ }
BLOCK_END("BeingRecv::processBeingStatusChange")
}