From 3cf1e68b73de6e6743c585f817517a25b556fa80 Mon Sep 17 00:00:00 2001 From: Clownacy Date: Sun, 10 Feb 2019 22:04:10 +0000 Subject: [PATCH] Fixed inaccuracy in NPC121 (Colon) --- src/NpcAct120.cpp | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/src/NpcAct120.cpp b/src/NpcAct120.cpp index 38efcf16..41470ae1 100644 --- a/src/NpcAct120.cpp +++ b/src/NpcAct120.cpp @@ -66,13 +66,15 @@ void ActNpc121(NPCHAR *npc) npc->rect = rect[npc->ani_no]; } - - npc->rect = rect[2]; - - if (++npc->act_wait > 100) + else { - npc->act_wait = 0; - SetCaret(npc->x, npc->y, 5, 0); + npc->rect = rect[2]; + + if (++npc->act_wait > 100) + { + npc->act_wait = 0; + SetCaret(npc->x, npc->y, 5, 0); + } } }