summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
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 fdba61dba..615b5fee3 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -4962,7 +4962,7 @@ int clif_heal(int fd,int type,int val)
WFIFOHEAD(fd,packet_len(0x13d));
WFIFOW(fd,0)=0x13d;
WFIFOW(fd,2)=type;
- WFIFOW(fd,4)=val;
+ WFIFOW(fd,4)=cap_value(val,0,SHRT_MAX);
WFIFOSET(fd,packet_len(0x13d));
return 0;