summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2014-03-09 19:15:51 +0100
committerHaru <haru@dotalux.com>2014-03-09 19:15:51 +0100
commit829bdc85fdb5aa2c95bc1df0f473df6225cc3b52 (patch)
tree2ecb9ff097af91d0f1fb54d4840c327282448499
parente2fdc3b858dda8abb7518735fbb254a2d63ea760 (diff)
downloadhercules-829bdc85fdb5aa2c95bc1df0f473df6225cc3b52.tar.gz
hercules-829bdc85fdb5aa2c95bc1df0f473df6225cc3b52.tar.bz2
hercules-829bdc85fdb5aa2c95bc1df0f473df6225cc3b52.tar.xz
hercules-829bdc85fdb5aa2c95bc1df0f473df6225cc3b52.zip
Follow-up to e2fdc3b858dda8abb7518735fbb254a2d63ea760
Fixed pre-renewal build. Signed-off-by: Haru <haru@dotalux.com>
-rw-r--r--src/map/battle.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index 2cc0ee75c..24f39a35d 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -4657,7 +4657,9 @@ struct Damage battle_calc_weapon_attack(struct block_list *src,struct block_list
#endif
switch(skill_id){
case SR_GATEOFHELL:
+ #ifdef RENEWAL
RE_SKILL_REDUCTION();
+ #endif // RENEWAL
if (wd.dmg_lv != ATK_FLEE)
ATK_RATE(battle->calc_skillratio(BF_WEAPON, src, target, skill_id, skill_lv, skillratio, wflag));
else