summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-06 19:54:28 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-06 19:54:28 +0000
commita4a9597d1282d4088df906c1de2c58497dcbb8ef (patch)
tree93bf310ada0b8b6adb5b18d1c7de3d63a11a831c /src
parent4dfc2554fbd64c8fc0fd6879151c81af1f41c3bd (diff)
downloadhercules-a4a9597d1282d4088df906c1de2c58497dcbb8ef.tar.gz
hercules-a4a9597d1282d4088df906c1de2c58497dcbb8ef.tar.bz2
hercules-a4a9597d1282d4088df906c1de2c58497dcbb8ef.tar.xz
hercules-a4a9597d1282d4088df906c1de2c58497dcbb8ef.zip
- Fixed firewall counter going down by 2 each hit rather than 1.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7015 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/map/skill.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 36867c44d..7433520bc 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -6680,7 +6680,7 @@ int skill_unit_onplace_timer(struct skill_unit *src,struct block_list *bl,unsign
skill_attack(BF_MAGIC,ss,&src->bl,bl,sg->skill_id,sg->skill_lv,tick,0);
src->val2--;
}
- if (--src->val2<=0)
+ if (src->val2<=0)
skill_delunit(src);
break;
}