diff options
Diffstat (limited to 'mm/src/code')
| -rw-r--r-- | mm/src/code/z_scene.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mm/src/code/z_scene.c b/mm/src/code/z_scene.c index 4da709541..38b031e83 100644 --- a/mm/src/code/z_scene.c +++ b/mm/src/code/z_scene.c @@ -1,4 +1,5 @@ #include "global.h" +#include <libultraship/bridge.h> /** * Spawn an object file of a specified ID that will persist through room changes. @@ -115,7 +116,7 @@ s32 Object_GetSlot(ObjectContext* objectCtx, s16 objectId) { } } - return -1; + return CVarGetInteger("gObjDep", 0) ? 0 : -1; } s32 Object_IsLoaded(ObjectContext* objectCtx, s32 slot) { |
