summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-03-14 19:31:43 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-03-14 19:31:43 +0000
commit6c93f50fb63d97059355e18865d4da54e14b9ca1 (patch)
tree33c184b396688388486d83a0af19174823554aef /src/map/battle.c
parent2432219232bc5152745e13930f9a82b75e234c95 (diff)
downloadhercules-6c93f50fb63d97059355e18865d4da54e14b9ca1.tar.gz
hercules-6c93f50fb63d97059355e18865d4da54e14b9ca1.tar.bz2
hercules-6c93f50fb63d97059355e18865d4da54e14b9ca1.tar.xz
hercules-6c93f50fb63d97059355e18865d4da54e14b9ca1.zip
- Corrected party item share settings not being properly updated on logon.
- Corrected battle_attr_none setting applying to elemental attacks instead of neutral ones. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10007 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 9919867e4..c0b50b444 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -987,7 +987,7 @@ static struct Damage battle_calc_weapon_attack(
if (skill_num == GS_GROUNDDRIFT)
s_ele = s_ele_ = wflag; //element comes in flag.
- if (s_ele != ELE_NEUTRAL && (battle_config.attack_attr_none&src->type))
+ if (s_ele == ELE_NEUTRAL && (battle_config.attack_attr_none&src->type))
nk|=NK_NO_ELEFIX;
if(!skill_num)