Invert skip room proc obj (#605)

* Invert functionality of obj room proc to be opt-in

* Fixed comment for enabling profiler
This commit is contained in:
thecozies authored and GitHub committed 2023-03-15 10:49:07 -04:00
1 parent 17498e081d
commit c09103d456
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -822,7 +822,7 @@ void cur_obj_update(void) {
s32 inRoom = is_mario_in_room();
if (!(objFlags & OBJ_FLAG_PROCESS_OUTSIDE_ROOM)) {
if (objFlags & OBJ_FLAG_ONLY_PROCESS_INSIDE_ROOM) {
if (inRoom == MARIO_OUTSIDE_ROOM) {
cur_obj_enable_disable_room_rendering(MARIO_OUTSIDE_ROOM);
return;