You've already forked Microtransactions64
mirror of
https://github.com/Print-and-Panic/Microtransactions64.git
synced 2026-01-21 10:17:19 -08:00
Make objFlags an s32
This commit is contained in:
@@ -905,9 +905,7 @@ static BhvCommandProc BehaviorCmdTable[] = {
|
||||
|
||||
// Execute the behavior script of the current object, process the object flags, and other miscellaneous code for updating objects.
|
||||
void cur_obj_update(void) {
|
||||
UNUSED u32 unused;
|
||||
|
||||
s16 objFlags = gCurrentObject->oFlags;
|
||||
s32 objFlags = gCurrentObject->oFlags;
|
||||
f32 distanceFromMario;
|
||||
BhvCommandProc bhvCmdProc;
|
||||
s32 bhvProcResult;
|
||||
@@ -953,7 +951,7 @@ void cur_obj_update(void) {
|
||||
}
|
||||
|
||||
// Execute various code based on object flags.
|
||||
objFlags = (s16) gCurrentObject->oFlags;
|
||||
objFlags = gCurrentObject->oFlags;
|
||||
|
||||
if (objFlags & OBJ_FLAG_SET_FACE_ANGLE_TO_MOVE_ANGLE) {
|
||||
obj_set_face_angle_to_move_angle(gCurrentObject);
|
||||
|
||||
Reference in New Issue
Block a user