diff options
author | sketchyphoenix <sketchyphoenix@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-06-22 21:42:16 +0000 |
---|---|---|
committer | sketchyphoenix <sketchyphoenix@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-06-22 21:42:16 +0000 |
commit | e5b4f6c24c26412120af6545294925d8a24bd011 (patch) | |
tree | f0bd57d8744055b3edd0fe7c01f580a28ac12919 /src/map | |
parent | eabccfca76b766a8b3daf18ff30a60139258e8f6 (diff) | |
download | hercules-e5b4f6c24c26412120af6545294925d8a24bd011.tar.gz hercules-e5b4f6c24c26412120af6545294925d8a24bd011.tar.bz2 hercules-e5b4f6c24c26412120af6545294925d8a24bd011.tar.xz hercules-e5b4f6c24c26412120af6545294925d8a24bd011.zip |
Changed a if statement around because gcc emocries over it.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12878 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/skill.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index 3baafef54..6886c5141 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -1473,8 +1473,9 @@ int skill_attack (int attack_type, struct block_list* src, struct block_list *ds damage = dmg.damage + dmg.damage2; - if (skillid == AL_INCAGI || skillid == AL_BLESSING && tsd->sc.data[SC_CHANGEUNDEAD]) - damage = 1; + if (skillid == AL_INCAGI || skillid == AL_BLESSING) + if (tsd->sc.data[SC_CHANGEUNDEAD]) + damage = 1; if (damage > 0 && dmg.flag&BF_WEAPON && src != bl && src == dsrc && skillid != WS_CARTTERMINATION) // FIXME(?): Quick and dirty check, but HSCR does bypass Shield Reflect... so I make it bypass the whole reflect thing [DracoRPG] |