summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-03-31 05:16:42 +0000
committerzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-03-31 05:16:42 +0000
commitfb4bb1862c03ef52eca4d0b4d8ee5de426d1cdee (patch)
tree6b726b00b6e09adc29db10f53e0e703ab616605b /src
parentbff2ef1b4645a065ee105ee5a53af3a5f1f0ab48 (diff)
downloadhercules-fb4bb1862c03ef52eca4d0b4d8ee5de426d1cdee.tar.gz
hercules-fb4bb1862c03ef52eca4d0b4d8ee5de426d1cdee.tar.bz2
hercules-fb4bb1862c03ef52eca4d0b4d8ee5de426d1cdee.tar.xz
hercules-fb4bb1862c03ef52eca4d0b4d8ee5de426d1cdee.zip
- Fixed wrong expire calculation on Wall of Fog used over Deluge (Bug report 1301).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12451 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 df5c8deff..b66faaf52 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -6406,6 +6406,7 @@ struct skill_unit_group* skill_unitsetting (struct block_list *src, short skilli
safestrncpy(group->valstr, "Boo!", MESSAGE_SIZE);
}
+ limit = group->limit;
for( i = 0; i < layout->count; i++ )
{
struct skill_unit *unit;
@@ -6413,7 +6414,6 @@ struct skill_unit_group* skill_unitsetting (struct block_list *src, short skilli
int uy = y + layout->dy[i];
int val1 = skilllv;
int val2 = 0;
- int limit = group->limit;
int alive = 1;
if( !group->state.song_dance && !map_getcell(src->m,ux,uy,CELL_CHKREACH) )