summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-10-08 21:22:03 +0300
committerAndrei Karas <akaras@inbox.ru>2016-10-08 21:22:03 +0300
commitbe854890470dcf9e4d76be4ed97abf6fe419808f (patch)
tree5185b44ab77d9c17bd3ecbadd7042cb21b96a465 /src/map/clif.c
parent80afa9c5b1d3e7eff0d03f78de3454830789c87b (diff)
downloadhercules-be854890470dcf9e4d76be4ed97abf6fe419808f.tar.gz
hercules-be854890470dcf9e4d76be4ed97abf6fe419808f.tar.bz2
hercules-be854890470dcf9e4d76be4ed97abf6fe419808f.tar.xz
hercules-be854890470dcf9e4d76be4ed97abf6fe419808f.zip
Fix packet id for clif_heal for packet version >= 20150513.
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 3e6b4937b..8a79cbab1 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -5749,7 +5749,7 @@ void clif_heal(int fd, int type, int val)
int len = packet_len(cmd);
WFIFOHEAD(fd, len);
- WFIFOW(fd, 0) = 0x13d;
+ WFIFOW(fd, 0) = cmd;
WFIFOW(fd, 2) = type;
#if PACKETVER < 20150513
WFIFOW(fd, 4) = cap_value(val, 0, INT16_MAX);