summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMasterOfMuppets <MasterOfMuppets@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-03 18:25:10 +0000
committerMasterOfMuppets <MasterOfMuppets@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-03 18:25:10 +0000
commit9b3d330462f97bcf287d25ecaab0d8d63698e457 (patch)
tree66c6a63818668dbc9d8800c5420483a520ff2b98 /src
parenta8baac8b91b6511784a61521c72ca9b1ae1c21c3 (diff)
downloadhercules-9b3d330462f97bcf287d25ecaab0d8d63698e457.tar.gz
hercules-9b3d330462f97bcf287d25ecaab0d8d63698e457.tar.bz2
hercules-9b3d330462f97bcf287d25ecaab0d8d63698e457.tar.xz
hercules-9b3d330462f97bcf287d25ecaab0d8d63698e457.zip
Solved the bug that made firewalls only castable a few times until you relogged. Thanks to Euph for the fix.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6959 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 28a657211..663ebee21 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -6689,7 +6689,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;
}