You've already forked Microtransactions64
mirror of
https://github.com/Print-and-Panic/Microtransactions64.git
synced 2026-01-21 10:17:19 -08:00
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:
@@ -16,7 +16,7 @@
|
||||
|
||||
/**
|
||||
* Enables a comprehensive standalone profiler. Automatically enabled by PUPPYPRINT_DEBUG.
|
||||
* If not using PUPPYPRINT_DEBUG, press L to toggle the profiler.
|
||||
* If not using PUPPYPRINT_DEBUG, press L + D-Pad Up to toggle the profiler.
|
||||
*/
|
||||
#define USE_PROFILER
|
||||
|
||||
|
||||
@@ -55,7 +55,7 @@ enum ObjFlags {
|
||||
OBJ_FLAG_OCCLUDE_SILHOUETTE = (1 << 20), // 0x00100000
|
||||
OBJ_FLAG_OPACITY_FROM_CAMERA_DIST = (1 << 21), // 0x00200000
|
||||
OBJ_FLAG_EMIT_LIGHT = (1 << 22), // 0x00400000
|
||||
OBJ_FLAG_PROCESS_OUTSIDE_ROOM = (1 << 23), // 0x00800000
|
||||
OBJ_FLAG_ONLY_PROCESS_INSIDE_ROOM = (1 << 23), // 0x00800000
|
||||
OBJ_FLAG_HITBOX_WAS_SET = (1 << 30), // 0x40000000
|
||||
};
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user