Browse Source

DMG no longer stops running. (bugreport:1155)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12488 54d463be-8e91-2dee-dedb-b68131a5f0ec
Kevin 17 years ago
parent
commit
4cc085b115
2 changed files with 5 additions and 2 deletions
  1. 2 0
      Changelog-Trunk.txt
  2. 3 2
      src/map/unit.c

+ 2 - 0
Changelog-Trunk.txt

@@ -3,6 +3,8 @@ Date	Added
 AS OF SVN REV. 5091, WE ARE NOW USING TRUNK.  ALL UNTESTED BUGFIXES/FEATURES GO INTO TRUNK.
 AS OF SVN REV. 5091, WE ARE NOW USING TRUNK.  ALL UNTESTED BUGFIXES/FEATURES GO INTO TRUNK.
 IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
 IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
 
 
+2008/04/05
+	* DMG no longer stops running. (r12486) [Kevin]
 2008/04/04
 2008/04/04
 	* PCs/Mobs/NPCs now block Leap(TK_HIGHJUMP) and sprint(TK_RUN). (r12485) [Kevin]
 	* PCs/Mobs/NPCs now block Leap(TK_HIGHJUMP) and sprint(TK_RUN). (r12485) [Kevin]
 	* Disconnect user when receive select egg packet with no menu open. (r12484) [Kevin]
 	* Disconnect user when receive select egg packet with no menu open. (r12484) [Kevin]

+ 3 - 2
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)
 	if(bl->type == BL_PET && type&~0xff)
 		ud->canmove_tick = gettick() + (type>>8);
 		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;
 	return 1;
 }
 }