summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorSara <Sara@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-03-24 10:07:56 +0000
committerSara <Sara@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-03-24 10:07:56 +0000
commitba5af7605a9ff1cd6733c5e5c6eb76e5cf79ab3b (patch)
tree2366bde5fe7cbbb32c038096b348f5e39e93944b /src/map
parenta090701bc03da8cafc57633a9bd79e31202e2159 (diff)
downloadhercules-ba5af7605a9ff1cd6733c5e5c6eb76e5cf79ab3b.tar.gz
hercules-ba5af7605a9ff1cd6733c5e5c6eb76e5cf79ab3b.tar.bz2
hercules-ba5af7605a9ff1cd6733c5e5c6eb76e5cf79ab3b.tar.xz
hercules-ba5af7605a9ff1cd6733c5e5c6eb76e5cf79ab3b.zip
Some more fixes to my buggy commit -.-;
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13621 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-rw-r--r--src/map/clif.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 508737cbc..09d8c9a94 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -4533,7 +4533,7 @@ int clif_status_load(struct block_list *bl,int type, int flag)
*------------------------------------------*/
int clif_status_change(struct block_list *bl,int type,int flag,unsigned int tick)
{
- unsigned char buf[16];
+ unsigned char buf[32];
if (type == SI_BLANK) //It shows nothing on the client...
return 0;
@@ -4557,6 +4557,9 @@ int clif_status_change(struct block_list *bl,int type,int flag,unsigned int tick
WBUFB(buf,8)=flag;
if( battle_config.display_status_timers && tick>0 ) {
WBUFL(buf,9)=tick;
+ WBUFL(buf,13)=0;
+ WBUFL(buf,17)=0;
+ WBUFL(buf,21)=0;
clif_send(buf,packet_len(0x43f),bl,AREA);
} else
clif_send(buf,packet_len(0x196),bl,AREA);