Browse Source

Fixed eAthena's wrong interpretation of the respawn times

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11027 54d463be-8e91-2dee-dedb-b68131a5f0ec
Playtester 18 years ago
parent
commit
ed98c68a49
2 changed files with 5 additions and 0 deletions
  1. 1 0
      Changelog-Trunk.txt
  2. 4 0
      src/map/npc.c

+ 1 - 0
Changelog-Trunk.txt

@@ -4,6 +4,7 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK.  ALL UNTESTED BUGFIXES/FEATURES GO
 IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
 
 2007/08/16
+	* Fixed eAthena's wrong interpretation of the respawn times [Playtester]
 	* Added icons for NPC_CRITICALWOUND and NPC_SLOWCAST [Playtester]
 	* Fixed npc chatrooms not being deleted on npc unload/reload (crash)
 	* Modified chat code a bit for more clarity [ultramage]

+ 4 - 0
src/map/npc.c

@@ -2377,6 +2377,10 @@ int npc_parse_mob(char* w1, char* w2, char* w3, char* w4)
 		return 1;
 	}
 
+	//Fix for previously wrong interpretation of the delays
+	mob.delay2 = mob.delay1;
+	mob.delay1 = 0;
+
 	mob.num = (unsigned short)num;
 	mob.class_ = (short) class_;
 	mob.x = (unsigned short)x;