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 71742011d..fab7605ae 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -2612,7 +2612,7 @@ int clif_statusupack(struct map_session_data *sd,int type,int ok,int val)
WFIFOW(fd,0)=0xbc;
WFIFOW(fd,2)=type;
WFIFOB(fd,4)=ok;
- WFIFOB(fd,5)=val;
+ WFIFOB(fd,5)=cap_value(val,0,UCHAR_MAX);
WFIFOSET(fd,packet_len(0xbc));
return 0;