From 9e976b37071816d55e3afb4d8fd4bc841150e9d2 Mon Sep 17 00:00:00 2001 From: Clownacy Date: Mon, 11 Feb 2019 14:50:28 +0000 Subject: [PATCH] Fixed an inaccuracy in NPC104 (Frog) Whoops --- src/NpcAct100.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/NpcAct100.cpp b/src/NpcAct100.cpp index a9e2fbbc..48d81858 100644 --- a/src/NpcAct100.cpp +++ b/src/NpcAct100.cpp @@ -260,9 +260,9 @@ void ActNpc104(NPCHAR *npc) if (bJump) { if (gMC.x > npc->x) - npc->direct = 0; - else npc->direct = 2; + else + npc->direct = 0; npc->act_no = 10; npc->ani_no = 2; @@ -272,7 +272,7 @@ void ActNpc104(NPCHAR *npc) PlaySoundObject(30, 1); if (npc->direct == 0) - npc->xm = -0x200u; + npc->xm = -0x200; else npc->xm = 0x200; }