summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-07-11 14:32:05 -0300
committershennetsind <ind@henn.et>2013-07-11 14:32:05 -0300
commit0a1c06b267e549877e0617fe19963b5b7c8c937c (patch)
tree228ab350473b07154d4bcf0ead0d93f163f6d6a8 /src/map/status.c
parente3761a81ba4c941ba04a2b6b1f161a6e1402ebe9 (diff)
parent0683c5f38cdefa3735c3d0abc1b74abaa68cf5c4 (diff)
downloadhercules-0a1c06b267e549877e0617fe19963b5b7c8c937c.tar.gz
hercules-0a1c06b267e549877e0617fe19963b5b7c8c937c.tar.bz2
hercules-0a1c06b267e549877e0617fe19963b5b7c8c937c.tar.xz
hercules-0a1c06b267e549877e0617fe19963b5b7c8c937c.zip
Merge branch 'master' of https://github.com/HerculesWS/Hercules
Diffstat (limited to 'src/map/status.c')
-rw-r--r--src/map/status.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/map/status.c b/src/map/status.c
index 20d88e296..0d8bedc5e 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -4045,6 +4045,10 @@ void status_calc_bl_(struct block_list* bl, enum scb_flag flag, bool first)
clif->updatestatus(sd,SP_HP);
if(b_status.sp != status->sp)
clif->updatestatus(sd,SP_SP);
+#ifdef RENEWAL
+ if(b_status.equip_atk != status->equip_atk)
+ clif->updatestatus(sd,SP_ATK2);
+#endif
} else if( bl->type == BL_HOM ) {
TBL_HOM* hd = BL_CAST(BL_HOM, bl);
if( hd->master && memcmp(&b_status, status, sizeof(struct status_data)) != 0 )