summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changelog-Trunk.txt1
-rw-r--r--src/map/npc.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt
index 4c80e2c4a..946b0df2a 100644
--- a/Changelog-Trunk.txt
+++ b/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.
2006/10/30
+ * Fixed a little bug in event enqueue code [Toms]
* Updated the code so mobs can use ChainAction as a targetted skill.
[Skotlex]
* Added GroundDrift effects for Wind (Stun) and Fire (knockback). The
diff --git a/src/map/npc.c b/src/map/npc.c
index 9c77460d4..7784be6ec 100644
--- a/src/map/npc.c
+++ b/src/map/npc.c
@@ -790,7 +790,7 @@ int npc_event_sub(struct map_session_data *sd, struct event_data *ev, const unsi
if ( sd->npc_id!=0) {
//Enqueue the event trigger.
int i;
- for(i=0;i<MAX_EVENTQUEUE && sd->eventqueue[i][0];i++)
+ for(i=0;i<MAX_EVENTQUEUE && sd->eventqueue[i][0];i++);
if (i==MAX_EVENTQUEUE) {
if (battle_config.error_log)