summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2014-07-01 09:31:15 -0700
committerBen Longbons <b.r.longbons@gmail.com>2014-07-01 09:31:15 -0700
commit1bf79f46612f57d22647cfab515c85ee641601ca (patch)
treec3bbe5ed25f839d2e8738b816d0e49c3b3f3a009
parent578c14ab575eb57bb8c0edd9ff2b1140bc670276 (diff)
downloadtmwa-1bf79f46612f57d22647cfab515c85ee641601ca.tar.gz
tmwa-1bf79f46612f57d22647cfab515c85ee641601ca.tar.bz2
tmwa-1bf79f46612f57d22647cfab515c85ee641601ca.tar.xz
tmwa-1bf79f46612f57d22647cfab515c85ee641601ca.zip
Incorrect death/disappearance formsv14.6.30
-rw-r--r--src/map/clif.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/clif.cpp b/src/map/clif.cpp
index eae922d..5de3a82 100644
--- a/src/map/clif.cpp
+++ b/src/map/clif.cpp
@@ -598,16 +598,17 @@ int clif_clearchar(dumb_ptr<block_list> bl, BeingRemoveWhy type)
Packet_Fixed<0x0080> fixed_80;
fixed_80.block_id = bl->bl_id;
- Buffer buf = create_fpacket<0x0080, 7>(fixed_80);
if (type == BeingRemoveWhy::DISGUISE)
{
fixed_80.type = BeingRemoveWhy::GONE;
+ Buffer buf = create_fpacket<0x0080, 7>(fixed_80);
clif_send(buf, bl, SendWho::AREA);
}
else
{
fixed_80.type = type;
+ Buffer buf = create_fpacket<0x0080, 7>(fixed_80);
clif_send(buf, bl,
type == BeingRemoveWhy::DEAD ? SendWho::AREA : SendWho::AREA_WOS);
}