diff options
author | gumi <git@gumi.ca> | 2018-01-03 18:05:21 -0500 |
---|---|---|
committer | gumi <git@gumi.ca> | 2018-01-03 18:05:21 -0500 |
commit | 0ca1ab88b5040cb13226fc41bff448c22f5ff175 (patch) | |
tree | a066909a8e15967abc36fbf0f5744cf30f444355 /src/map/script-fun.cpp | |
parent | 2d2db67a5783a4f316c1eb6e9bd9925f360b29a5 (diff) | |
download | tmwa-0ca1ab88b5040cb13226fc41bff448c22f5ff175.tar.gz tmwa-0ca1ab88b5040cb13226fc41bff448c22f5ff175.tar.bz2 tmwa-0ca1ab88b5040cb13226fc41bff448c22f5ff175.tar.xz tmwa-0ca1ab88b5040cb13226fc41bff448c22f5ff175.zip |
remove mob timers, make areatimer only work on PC
Diffstat (limited to 'src/map/script-fun.cpp')
-rw-r--r-- | src/map/script-fun.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/map/script-fun.cpp b/src/map/script-fun.cpp index 8aa8b5c..ff50400 100644 --- a/src/map/script-fun.cpp +++ b/src/map/script-fun.cpp @@ -4409,10 +4409,6 @@ void builtin_areatimer_sub(dumb_ptr<block_list> bl, interval_t tick, NpcEvent ev dumb_ptr<map_session_data> sd = map_id_is_player(bl->bl_id); pc_addeventtimer(sd, tick, event); } - else - { - npc_addeventtimer(bl, tick, event); - } } static @@ -4439,12 +4435,6 @@ void builtin_areatimer(ScriptState *st) case 0: block_type = BL::PC; break; - case 1: - block_type = BL::NPC; - break; - case 2: - block_type = BL::MOB; - break; default: return; } |