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:
Aleos 2019-06-03 10:32:12 -04:00 committed by GitHub
parent 8cfee2c872
commit 754274bc58
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;