diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-06-13 17:37:08 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-06-13 17:37:08 +0000 |
commit | 246784a13ccf2f3af3d3e4e01e9d964463fd9c67 (patch) | |
tree | 5ac84048a8a96a6201cbd44b36f9dd2e690a4228 /src/map/unit.c | |
parent | 7c88cfdb659578ce7d79c6a2bda33d2907d6e246 (diff) | |
download | hercules-246784a13ccf2f3af3d3e4e01e9d964463fd9c67.tar.gz hercules-246784a13ccf2f3af3d3e4e01e9d964463fd9c67.tar.bz2 hercules-246784a13ccf2f3af3d3e4e01e9d964463fd9c67.tar.xz hercules-246784a13ccf2f3af3d3e4e01e9d964463fd9c67.zip |
- Marionette and Devotion will now check raw distance and ignore obstacles and the like.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7134 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/unit.c')
-rw-r--r-- | src/map/unit.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/map/unit.c b/src/map/unit.c index 966b07192..e1b42c101 100644 --- a/src/map/unit.c +++ b/src/map/unit.c @@ -1482,6 +1482,10 @@ int unit_remove_map(struct block_list *bl, int clrtype) { skill_stop_dancing(bl);
if (sc->data[SC_DEVOTION].timer!=-1)
status_change_end(bl,SC_DEVOTION,-1);
+ if (sc->data[SC_MARIONETTE].timer!=-1)
+ status_change_end(bl,SC_MARIONETTE,-1);
+ if (sc->data[SC_MARIONETTE2].timer!=-1)
+ status_change_end(bl,SC_MARIONETTE2,-1);
if (sc->data[SC_CLOSECONFINE].timer!=-1)
status_change_end(bl,SC_CLOSECONFINE,-1);
if (sc->data[SC_CLOSECONFINE2].timer!=-1)
|