fixing format

This commit is contained in:
Ethan Roseman 2020-10-10 13:42:15 -04:00
parent 5a013f5579
commit 8490965da5
3 changed files with 3 additions and 7 deletions

View File

@ -9,7 +9,6 @@ struct ScriptInstance;
typedef ApiStatus(*ApiFunc)(struct ScriptInstance*, s32);
typedef struct Vec3f {
/* 0x00 */ f32 x;
/* 0x04 */ f32 y;

View File

@ -2,9 +2,6 @@
#define _SI_H_
#include "ultra64.h"
#include "types.h"
#include "macros.h"
#include "common_structs.h"
#define SI_VAR_0 0xFE363C80

View File

@ -51,9 +51,9 @@ s32 func_80145CE8(s32 arg0) {
for (i = 0; i < ARRAY_COUNT(gCurrentTriggerListPtr); i++) {
Trigger* trigger = (*gCurrentTriggerListPtr)[i];
if ((trigger != NULL) &&
(trigger->unk_30 != 0) &&
(trigger->params2 == arg0) &&
if ((trigger != NULL) &&
(trigger->unk_30 != 0) &&
(trigger->params2 == arg0) &&
(trigger->flags.flags & 0x100)) {
return 1;
}