Fixed inaccuracy in NPC121 (Colon)

This commit is contained in:
Clownacy 2019-02-10 22:04:10 +00:00
parent 48459ae1ab
commit 3cf1e68b73

View file

@ -66,13 +66,15 @@ void ActNpc121(NPCHAR *npc)
npc->rect = rect[npc->ani_no]; npc->rect = rect[npc->ani_no];
} }
else
npc->rect = rect[2];
if (++npc->act_wait > 100)
{ {
npc->act_wait = 0; npc->rect = rect[2];
SetCaret(npc->x, npc->y, 5, 0);
if (++npc->act_wait > 100)
{
npc->act_wait = 0;
SetCaret(npc->x, npc->y, 5, 0);
}
} }
} }