Deobfuscate some BOOLs

This commit is contained in:
Clownacy 2020-07-08 02:57:00 +01:00
parent 788e5ea2d8
commit d6bbb013f9
2 changed files with 3 additions and 3 deletions

View file

@ -1334,7 +1334,7 @@ void ActNpc175(NPCHAR *npc)
if (npc->act_no < 3 && npc->life < 90)
{
LoseNpChar(npc, 0);
LoseNpChar(npc, FALSE);
npc->act_no = 10;
npc->ani_no = 1;
npc->bits &= ~NPC_SHOOTABLE;
@ -1384,7 +1384,7 @@ void ActNpc176(NPCHAR *npc)
if (npc->act_no < 3 && npc->life < 940)
{
LoseNpChar(npc, 0);
LoseNpChar(npc, FALSE);
npc->act_no = 10;
npc->ani_no = 2;
npc->bits &= ~NPC_SHOOTABLE;

View file

@ -1311,7 +1311,7 @@ void ActNpc197(NPCHAR *npc)
if (npc->x < 48 * 0x200)
{
npc->destroy_voice = 0;
LoseNpChar(npc, 1);
LoseNpChar(npc, TRUE);
}
break;