Some more fixes to my buggy commit -.-;
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13621 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
ec71074b97
commit
0073a977c0
@ -115,5 +115,5 @@ display_version: yes
|
|||||||
display_hallucination: yes
|
display_hallucination: yes
|
||||||
|
|
||||||
// Set this to 1 if your client supports status change timers and you want to use them
|
// Set this to 1 if your client supports status change timers and you want to use them
|
||||||
// All Renewal clients support this packet but only some Sakray clients do, if unsupported status icons will vanish
|
// Clients from 2009 onward support this
|
||||||
display_status_timers: no
|
display_status_timers: no
|
||||||
|
@ -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)
|
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...
|
if (type == SI_BLANK) //It shows nothing on the client...
|
||||||
return 0;
|
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;
|
WBUFB(buf,8)=flag;
|
||||||
if( battle_config.display_status_timers && tick>0 ) {
|
if( battle_config.display_status_timers && tick>0 ) {
|
||||||
WBUFL(buf,9)=tick;
|
WBUFL(buf,9)=tick;
|
||||||
|
WBUFL(buf,13)=0;
|
||||||
|
WBUFL(buf,17)=0;
|
||||||
|
WBUFL(buf,21)=0;
|
||||||
clif_send(buf,packet_len(0x43f),bl,AREA);
|
clif_send(buf,packet_len(0x43f),bl,AREA);
|
||||||
} else
|
} else
|
||||||
clif_send(buf,packet_len(0x196),bl,AREA);
|
clif_send(buf,packet_len(0x196),bl,AREA);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user