Make objFlags an s32
This commit is contained in:
1 parent
604b1405a2
commit
48a4d5a405
1 file changed
+2
-4
@@ -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