summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/battle.c')
-rw-r--r--src/map/battle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index 9ea7f5595..ce75e0446 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -1760,7 +1760,7 @@ static struct Damage battle_calc_weapon_attack(struct block_list *src,struct blo
case MC_CARTREVOLUTION:
skillratio += 50;
if(sd && sd->cart_weight)
- skillratio += 100*sd->cart_weight/battle_config.max_cart_weight; // +1% every 1% weight
+ skillratio += 100*sd->cart_weight/sd->cart_weight_max; // +1% every 1% weight
else if (!sd)
skillratio += 100; //Max damage for non players.
break;