mirror of https://github.com/sm64pc/sm64pc.git
No more brackets for memmove/memcpy
This commit is contained in:
parent
51530dea78
commit
9a146f118f
|
@ -16,8 +16,8 @@
|
|||
#include <string.h>
|
||||
#undef bzero
|
||||
#undef bcopy
|
||||
#define bzero(buf, len) memset((buf), 0, (len))
|
||||
#define bcopy(src, dst, len) memmove((dst), (src), (len))
|
||||
#define bzero(buf, len) memset(buf, 0, len)
|
||||
#define bcopy(src, dst, len) memmove(dst, src, len)
|
||||
|
||||
#else
|
||||
|
||||
|
|
|
@ -35,8 +35,10 @@ static void camera_lakitu_intro_act_trigger_cutscene(void) {
|
|||
if (gMarioObject->oPosX > -555.0f && gMarioObject->oPosX < 555.0f && gMarioObject->oPosY > 800.0f
|
||||
#endif
|
||||
&& gMarioObject->oPosZ > -2000.0f && gMarioObject->oPosZ < -177.0f
|
||||
&& gMarioObject->oPosZ < -177.0f) // always double check your conditions
|
||||
{
|
||||
#ifndef QOL_FIXES
|
||||
&& gMarioObject->oPosZ < -177.0f // always double check your conditions
|
||||
#endif
|
||||
) {
|
||||
if (set_mario_npc_dialog(2) == 1) {
|
||||
o->oAction = CAMERA_LAKITU_INTRO_ACT_SPAWN_CLOUD;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue