diff --git a/RSDKv3/Scene.cpp b/RSDKv3/Scene.cpp index a2332653..f00ad17e 100644 --- a/RSDKv3/Scene.cpp +++ b/RSDKv3/Scene.cpp @@ -387,7 +387,7 @@ void LoadStageFiles(void) SetObjectTypeName(strBuffer, i + scriptID); } -#if RETRO_USE_MOD_LOADER +#if RETRO_USE_MOD_LOADER && RETRO_USE_COMPILER for (byte i = 0; i < modObjCount && loadGlobalScripts; ++i) { SetObjectTypeName(modTypeNames[i], globalObjectCount + i + 1); }