From a659c48f25245f32e53aaac320c8151770794c6b Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 23 Oct 2015 19:20:41 +0300 Subject: Move timer logic for graph based npcs to function. --- npc/001-1/flyingpiou.txt | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'npc/001-1/flyingpiou.txt') diff --git a/npc/001-1/flyingpiou.txt b/npc/001-1/flyingpiou.txt index 44e2cfce..5ed9ddbc 100644 --- a/npc/001-1/flyingpiou.txt +++ b/npc/001-1/flyingpiou.txt @@ -99,12 +99,7 @@ OnHour00: end; OnTimer1000: - if (!isunitwalking()) - { - movetonextpoint; - } - initnpctimer; - end; + dographmovestep; OnInit: .sex = G_OTHER; -- cgit v1.2.3-70-g09d2