summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changelog-Trunk.txt2
-rw-r--r--src/map/npc.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt
index f0f0fca1a..72f27d33e 100644
--- a/Changelog-Trunk.txt
+++ b/Changelog-Trunk.txt
@@ -4,6 +4,8 @@ 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.
2008/04/06
+ * Reverted one of the changes in dynamic mobs that may
+ - be causing the spawning problems. (r12512) [Kevin]
* Equip speed buffs no longer stack with speed consumables. (r12509) [Kevin]
- (Speed potion not included).
* Sprint, Fusion, and Increase AGI now stack independently.
diff --git a/src/map/npc.c b/src/map/npc.c
index 51c95cee0..98a03d2cd 100644
--- a/src/map/npc.c
+++ b/src/map/npc.c
@@ -2334,7 +2334,7 @@ static const char* npc_parse_mob(char* w1, char* w2, char* w3, char* w4, const c
data = (struct spawn_data*)aMalloc(sizeof(struct spawn_data));
memcpy(data, &mob, sizeof(struct spawn_data));
- if( !battle_config.dynamic_mobs ) {
+ if( !battle_config.dynamic_mobs || data->delay1 || data->delay2 ) {
data->state.dynamic = false;
npc_parse_mob2(data);
npc_delay_mob += data->num;