summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorL0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-08-20 20:54:10 +0000
committerL0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-08-20 20:54:10 +0000
commit317a8a43f8534647b664d143efc68f435da31d20 (patch)
treec3c8c2e169d6621e33c850f170f2ae7939bdbae1 /src
parent62515eac603cfe037311ebabbd855954e97fe9db (diff)
downloadhercules-317a8a43f8534647b664d143efc68f435da31d20.tar.gz
hercules-317a8a43f8534647b664d143efc68f435da31d20.tar.bz2
hercules-317a8a43f8534647b664d143efc68f435da31d20.tar.xz
hercules-317a8a43f8534647b664d143efc68f435da31d20.zip
* Commented out code from r14388, as this breaks NPCs that rely on running global events in duplicates. (IE: WoE scripts)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14390 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-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 a7f7c5b70..e33fab291 100644
--- a/src/map/npc.c
+++ b/src/map/npc.c
@@ -282,7 +282,7 @@ int npc_event_doall_sub(DBKey key, void* data, va_list ap)
rid = va_arg(ap, int);
p = strchr(p, ':'); // match only the event name
- if( p && strcmpi(name, p) == 0 && !ev->nd->src_id ) // Do not run on duplicates. [Paradox924X]
+ if( p && strcmpi(name, p) == 0 /* && !ev->nd->src_id */ ) // Do not run on duplicates. [Paradox924X]
{
if(rid) // a player may only have 1 script running at the same time
npc_event_sub(map_id2sd(rid),ev,key.str);