From 0ca1ab88b5040cb13226fc41bff448c22f5ff175 Mon Sep 17 00:00:00 2001 From: gumi Date: Wed, 3 Jan 2018 18:05:21 -0500 Subject: remove mob timers, make areatimer only work on PC --- src/map/script-fun.cpp | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/map/script-fun.cpp') 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 bl, interval_t tick, NpcEvent ev dumb_ptr 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; } -- cgit v1.2.3-60-g2f50