summaryrefslogtreecommitdiff
path: root/src/map/map.c
diff options
context:
space:
mode:
authorxazax-hun <xazax-hun@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-04-25 18:22:00 +0000
committerxazax-hun <xazax-hun@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-04-25 18:22:00 +0000
commit11c2d016d40070f1895d88c0eb7bb88079555cfd (patch)
treec0b0a1d761b782087e34cc19d6058beeff587e4e /src/map/map.c
parent2719529fe331896a79bb31770629bafac059acb3 (diff)
downloadhercules-11c2d016d40070f1895d88c0eb7bb88079555cfd.tar.gz
hercules-11c2d016d40070f1895d88c0eb7bb88079555cfd.tar.bz2
hercules-11c2d016d40070f1895d88c0eb7bb88079555cfd.tar.xz
hercules-11c2d016d40070f1895d88c0eb7bb88079555cfd.zip
* Code consistency updates. No functional changes. Credits to Lighta.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15974 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/map.c')
-rw-r--r--src/map/map.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/map.c b/src/map/map.c
index 19d49ce2f..72ee4b0b6 100644
--- a/src/map/map.c
+++ b/src/map/map.c
@@ -402,7 +402,7 @@ int map_moveblock(struct block_list *bl, int x1, int y1, unsigned int tick)
status_change_end(bl, SC_MAGICROD, INVALID_TIMER);
if (sc->data[SC_PROPERTYWALK] &&
sc->data[SC_PROPERTYWALK]->val3 >= skill_get_maxcount(sc->data[SC_PROPERTYWALK]->val1,sc->data[SC_PROPERTYWALK]->val2) )
- status_change_end(bl,SC_PROPERTYWALK,-1);
+ status_change_end(bl,SC_PROPERTYWALK,INVALID_TIMER);
} else
if (bl->type == BL_NPC)
npc_unsetcells((TBL_NPC*)bl);