summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-22 13:38:17 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-22 13:38:17 +0000
commit1db8c4a322c26f54801304014ea8b6d88fe3f14c (patch)
tree916f2c297567daae98c62cbc0a17b69f2c100752 /src/map/battle.c
parent53cee1c9a4415b8a092c744c6612d2a152e06762 (diff)
downloadhercules-1db8c4a322c26f54801304014ea8b6d88fe3f14c.tar.gz
hercules-1db8c4a322c26f54801304014ea8b6d88fe3f14c.tar.bz2
hercules-1db8c4a322c26f54801304014ea8b6d88fe3f14c.tar.xz
hercules-1db8c4a322c26f54801304014ea8b6d88fe3f14c.zip
- Fixed the compile error in mob.c
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7293 54d463be-8e91-2dee-dedb-b68131a5f0ec
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 91541270f..90260a74e 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -1873,7 +1873,7 @@ static struct Damage battle_calc_weapon_attack(
wd.damage2 = 0;
flag.rh=1;
flag.lh=0;
- } else if(sd->status.weapon > MAX_WEAPON_TYPE)
+ } else if(sd->status.weapon > MAX_WEAPON_TYPE && skill_num != ASC_BREAKER)
{ //Dual-wield
if (wd.damage)
{