summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2014-02-10 17:17:32 -0200
committershennetsind <ind@henn.et>2014-02-10 17:17:32 -0200
commit64344c36a7669051e30d7ecd141f19222e2889bb (patch)
tree81ac5972b8588d80e5de77ec96ff12c300c2c623 /src/map/clif.c
parent186fbc51d1254c9de712719a22b60f38d2a2cf60 (diff)
parent1e1b4a6a9286348192e6dcf22b816c01bc6f57b0 (diff)
downloadhercules-64344c36a7669051e30d7ecd141f19222e2889bb.tar.gz
hercules-64344c36a7669051e30d7ecd141f19222e2889bb.tar.bz2
hercules-64344c36a7669051e30d7ecd141f19222e2889bb.tar.xz
hercules-64344c36a7669051e30d7ecd141f19222e2889bb.zip
Merge branch 'master' of https://github.com/HerculesWS/Hercules
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 5dacf6360..15b546cc5 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -5897,10 +5897,15 @@ void clif_wis_message(int fd, const char* nick, const char* mes, size_t mes_len)
/// 3 = everyone ignored by target
void clif_wis_end(int fd, int flag)
{
- WFIFOHEAD(fd,packet_len(0x98));
- WFIFOW(fd,0) = 0x98;
+#if PACKETVER >= 20131223
+ const int cmd = 0x9df;
+#else
+ const int cmd = 0x98;
+#endif
+ WFIFOHEAD(fd,packet_len(cmd));
+ WFIFOW(fd,0) = cmd;
WFIFOW(fd,2) = flag;
- WFIFOSET(fd,packet_len(0x98));
+ WFIFOSET(fd,packet_len(cmd));
}