summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-10-10 20:19:57 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-10-10 20:19:57 +0000
commitcac083ed64b282609df7695e4e63f23f080f567e (patch)
treebb6431adc705b5974cd8126096ac82045f33cf07 /src/map/skill.c
parent6b727e049a53a891c203bccb5d8a3b0f436615d0 (diff)
downloadhercules-cac083ed64b282609df7695e4e63f23f080f567e.tar.gz
hercules-cac083ed64b282609df7695e4e63f23f080f567e.tar.bz2
hercules-cac083ed64b282609df7695e4e63f23f080f567e.tar.xz
hercules-cac083ed64b282609df7695e4e63f23f080f567e.zip
Fixed a messup in r11347 causing skill units to expire, trigger or not trigger, completely randomly (or at least it seems that way).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11396 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-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 21266e148..b2e20506f 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -7788,8 +7788,8 @@ int skill_unit_effect (struct block_list* bl, va_list ap)
{
struct skill_unit* unit = va_arg(ap,struct skill_unit*);
struct skill_unit_group* group = unit->group;
- unsigned int flag = va_arg(ap,unsigned int);
unsigned int tick = va_arg(ap,unsigned int);
+ unsigned int flag = va_arg(ap,unsigned int);
int skill_id;
if( !unit->alive || bl->prev == NULL )