summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-03-17 13:42:14 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-03-17 13:42:14 +0000
commitc7b72fc94094e863763ecb3c4d8e818953925a2b (patch)
treebba8bfb16ac5203196efbd16ef666c60dad60937 /src/map
parent1a7203bc63c86fdd69f5f9b0976e62a6a18dcdca (diff)
downloadhercules-c7b72fc94094e863763ecb3c4d8e818953925a2b.tar.gz
hercules-c7b72fc94094e863763ecb3c4d8e818953925a2b.tar.bz2
hercules-c7b72fc94094e863763ecb3c4d8e818953925a2b.tar.xz
hercules-c7b72fc94094e863763ecb3c4d8e818953925a2b.zip
- removed auto-attaching of player-run scripts in initnpctimer. You must use attachnpctimer!
- updated juperos elevator script to invoke attachnpctimer as it should be. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5643 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-rw-r--r--src/map/script.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/script.c b/src/map/script.c
index 4eeea13cb..e38e55c85 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -5659,7 +5659,7 @@ int buildin_initnpctimer(struct script_state *st)
else
nd=(struct npc_data *)map_id2bl(st->oid);
- nd->u.scr.rid = st->rid;
+ //nd->u.scr.rid = st->rid; //NO, use npcattachtimer if you want a player-attached timer! [Skotlex]
npc_settimerevent_tick(nd,0);
npc_timerevent_start(nd, st->rid);
return 0;