summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRidley <ridley8819@gmail.com>2016-10-08 20:43:53 +0200
committerGitHub <noreply@github.com>2016-10-08 20:43:52 +0200
commitb75799528a1394919fd5eb4c8763a96ee80a9325 (patch)
tree5185b44ab77d9c17bd3ecbadd7042cb21b96a465
parent80afa9c5b1d3e7eff0d03f78de3454830789c87b (diff)
parentbe854890470dcf9e4d76be4ed97abf6fe419808f (diff)
downloadhercules-b75799528a1394919fd5eb4c8763a96ee80a9325.tar.gz
hercules-b75799528a1394919fd5eb4c8763a96ee80a9325.tar.bz2
hercules-b75799528a1394919fd5eb4c8763a96ee80a9325.tar.xz
hercules-b75799528a1394919fd5eb4c8763a96ee80a9325.zip
Merge pull request #1470 from 4144/fixpacket
Fix packet id for clif_heal for packet version >= 20150513.
-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);