summaryrefslogtreecommitdiff
path: root/src/map/npc.c
diff options
context:
space:
mode:
authortoms <toms@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-10-30 21:30:02 +0000
committertoms <toms@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-10-30 21:30:02 +0000
commitd48e4a70f2b9d6cf746c139fc822923ac1efa7e1 (patch)
treec5c7b623c0c0a267c7df20038eea2b19bc47133a /src/map/npc.c
parent130b79a5d20f0d8a26103b5abc395f05e52b6e17 (diff)
downloadhercules-d48e4a70f2b9d6cf746c139fc822923ac1efa7e1.tar.gz
hercules-d48e4a70f2b9d6cf746c139fc822923ac1efa7e1.tar.bz2
hercules-d48e4a70f2b9d6cf746c139fc822923ac1efa7e1.tar.xz
hercules-d48e4a70f2b9d6cf746c139fc822923ac1efa7e1.zip
Fixed a little bug in event enqueue code
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9102 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/npc.c')
-rw-r--r--src/map/npc.c2
1 files changed, 1 insertions, 1 deletions
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)