shithub: cstory

Download patch

ref: 3cf1e68b73de6e6743c585f817517a25b556fa80
parent: 48459ae1abb7b4eb326b89b3420e6695f5ffbfe6
author: Clownacy <[email protected]>
date: Sun Feb 10 17:04:10 EST 2019

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);
+		}
 	}
 }