summaryrefslogtreecommitdiff
path: root/src/map/unit.c
diff options
context:
space:
mode:
authorKevin <Kevin@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-04-05 08:45:39 +0000
committerKevin <Kevin@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-04-05 08:45:39 +0000
commitae34b88fc662651d0f42db5338dfa77f4ed97b82 (patch)
tree62c57113a9d3a8dcd4a0eed283534ef4f5cbf015 /src/map/unit.c
parent415d67279afe894590a58a44d647af2576e5cc10 (diff)
downloadhercules-ae34b88fc662651d0f42db5338dfa77f4ed97b82.tar.gz
hercules-ae34b88fc662651d0f42db5338dfa77f4ed97b82.tar.bz2
hercules-ae34b88fc662651d0f42db5338dfa77f4ed97b82.tar.xz
hercules-ae34b88fc662651d0f42db5338dfa77f4ed97b82.zip
DMG no longer stops running. (bugreport:1155)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12488 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/unit.c')
-rw-r--r--src/map/unit.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/map/unit.c b/src/map/unit.c
index fa6c075db..bd738e786 100644
--- a/src/map/unit.c
+++ b/src/map/unit.c
@@ -660,8 +660,9 @@ int unit_stop_walking(struct block_list *bl,int type)
if(bl->type == BL_PET && type&~0xff)
ud->canmove_tick = gettick() + (type>>8);
- if (ud->state.running)
- status_change_end(bl, SC_RUN, -1);
+ //Don't stop running because of dmg, just apply the instant stop then keep running [Kevin]
+ //if (ud->state.running)
+ // status_change_end(bl, SC_RUN, -1);
return 1;
}