diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-10-23 19:20:41 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-10-23 19:20:41 +0300 |
commit | a659c48f25245f32e53aaac320c8151770794c6b (patch) | |
tree | 5f3739a0988f6338d6e40c4c73aebf07d18a07f0 /npc/001-1/flyingpiou.txt | |
parent | 73ccd23e1ff25cb1194cde9fa5789e6a8f9ed547 (diff) | |
download | serverdata-a659c48f25245f32e53aaac320c8151770794c6b.tar.gz serverdata-a659c48f25245f32e53aaac320c8151770794c6b.tar.bz2 serverdata-a659c48f25245f32e53aaac320c8151770794c6b.tar.xz serverdata-a659c48f25245f32e53aaac320c8151770794c6b.zip |
Move timer logic for graph based npcs to function.
Diffstat (limited to 'npc/001-1/flyingpiou.txt')
-rw-r--r-- | npc/001-1/flyingpiou.txt | 7 |
1 files changed, 1 insertions, 6 deletions
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; |