BossAlmo1.cpp extra accuracy

I forgot, the Linux debug data tells us the exact line number each
variable is declared on.
This commit is contained in:
Clownacy 2019-06-30 00:30:30 +01:00
parent deb0538d03
commit c162d06f96

View file

@ -110,16 +110,15 @@ static void ActBossChar_Core_Tail(NPCHAR *npc)
static void ActBossChar_Core_Mini(NPCHAR *npc)
{
unsigned char deg;
int ym;
int xm;
RECT rect[3] = {
{256, 0, 320, 40},
{256, 40, 320, 80},
{256, 80, 320, 120},
};
int xm, ym;
unsigned char deg;
npc->life = 1000;
switch (npc->act_no)
@ -242,16 +241,13 @@ static void ActBossChar_Core_Hit(NPCHAR *npc)
void ActBossChar_Core(void)
{
unsigned char deg;
int ym;
int xm;
int i;
static unsigned char flash;
NPCHAR *npc = gBoss;
static unsigned char flash;
BOOL bShock = FALSE;
int i;
unsigned char deg;
int xm, ym;
switch (npc->act_no)
{