diff --git a/src/NpcAct000.cpp b/src/NpcAct000.cpp index 9a956ab2..641b7306 100644 --- a/src/NpcAct000.cpp +++ b/src/NpcAct000.cpp @@ -15,12 +15,15 @@ void ActNpc000(NPCHAR *npc) RECT rect[1]; rect[0] = {0x00, 0x00, 0x10, 0x10}; - if (!npc->act_no) + switch (npc->act_no) { - npc->act_no = 1; + case 0: + npc->act_no = 1; - if (npc->direct == 2) - npc->y += 0x2000; + if (npc->direct == 2) + npc->y += 0x2000; + + break; } npc->rect = rect[0];