From 9024b4e950f151727c6c5e4a7b594911029d487b Mon Sep 17 00:00:00 2001 From: gumi Date: Sat, 27 Jan 2018 23:23:32 -0500 Subject: add missing weapon override in packet 01da --- src/map/clif.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/map/clif.cpp b/src/map/clif.cpp index 9518504..8e697f2 100644 --- a/src/map/clif.cpp +++ b/src/map/clif.cpp @@ -757,7 +757,9 @@ void clif_set007b(dumb_ptr sd, Buffer& buf) fixed_1da.hair_style = sd->status.hair; IOff0 widx = sd->equip_index_maybe[EQUIP::WEAPON]; IOff0 sidx = sd->equip_index_maybe[EQUIP::SHIELD]; - if (widx.ok() && sd->inventory_data[widx].is_some()) + if (sd->attack_spell_override) + fixed_1da.weapon = sd->attack_spell_look_override; + else if (widx.ok() && sd->inventory_data[widx].is_some()) { fixed_1da.weapon = sd->status.inventory[widx].nameid; } -- cgit v1.2.3-60-g2f50