ref: 4e5b2435c49e4909ba60b9e720c141a5a73aab6c
parent: 48459ae1abb7b4eb326b89b3420e6695f5ffbfe6
parent: 3cf1e68b73de6e6743c585f817517a25b556fa80
author: Cucky <44537737+cuckydev@users.noreply.github.com>
date: Sun Feb 10 13:11:36 EST 2019
Merge pull request #54 from Clownacy/master Fixed inaccuracy in NPC121 (Colon)
--- a/src/NpcAct120.cpp
+++ b/src/NpcAct120.cpp
@@ -66,13 +66,15 @@
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);
+ }
}
}