Fix some dumbs and comment some funnies

This commit is contained in:
Clownacy 2019-01-30 20:08:56 +00:00
parent 763c7d56c5
commit cc3c12d065
2 changed files with 4 additions and 4 deletions

View file

@ -197,7 +197,7 @@ void ActNpc024(NPCHAR *npc)
npc->act_no = 4; npc->act_no = 4;
npc->ani_no = 3; npc->ani_no = 3;
npc->act_wait = 0; npc->act_wait = 0;
npc->act_wait = 0; npc->act_wait = 0; // lol duplicate line
} }
break; break;
@ -487,7 +487,7 @@ void ActNpc028(NPCHAR *npc)
npc->direct = 2; npc->direct = 2;
if (npc->direct == 0) if (npc->direct == 0)
npc->xm = -0x100u; npc->xm = -0x100;
else else
npc->xm = 0x100; npc->xm = 0x100;
} }
@ -501,7 +501,7 @@ void ActNpc028(NPCHAR *npc)
npc->act_no = 4; npc->act_no = 4;
npc->ani_no = 3; npc->ani_no = 3;
npc->act_wait = 0; npc->act_wait = 0;
npc->act_wait = 0; npc->act_wait = 0; // lol duplicate line
} }
break; break;

View file

@ -20,7 +20,7 @@ class SOUNDBUFFER
void Play(bool bLooping); void Play(bool bLooping);
void Stop(); void Stop();
void Mix(float *buffer, int len); void Mix(float (*buffer)[2], size_t samples);
SOUNDBUFFER *next; SOUNDBUFFER *next;