Corrected Enchant Arms for older clients (#4196)
* Fixes Enchant Arms displaying an incorrect status icon for clients older than 2015-11-04. Thanks to @Daegaladh and @Lemongrass3110!
This commit is contained in:
parent
8cfee2c872
commit
754274bc58
@ -5995,6 +5995,11 @@ void clif_status_change_sub(struct block_list *bl, int id, int type, int flag, t
|
||||
|
||||
nullpo_retv(bl);
|
||||
|
||||
#if PACKETVER < 20151104
|
||||
if (type == EFST_WEAPONPROPERTY)
|
||||
type = EFST_ATTACK_PROPERTY_NOTHING + val1; // Assign status icon for older clients
|
||||
#endif
|
||||
|
||||
#if PACKETVER >= 20120618
|
||||
if (flag && battle_config.display_status_timers)
|
||||
WBUFW(buf,0) = 0x983;
|
||||
|
Loading…
x
Reference in New Issue
Block a user