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
This commit is contained in:
Playtester 2007-08-16 18:59:00 +00:00
parent e8f6f4ad38
commit ed98c68a49
2 changed files with 5 additions and 0 deletions

View File

@ -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]

View File

@ -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;