diff --git a/soh/soh/OTRGlobals.cpp b/soh/soh/OTRGlobals.cpp index 7efcd94c5..d9c1a64ec 100644 --- a/soh/soh/OTRGlobals.cpp +++ b/soh/soh/OTRGlobals.cpp @@ -1001,5 +1001,5 @@ extern "C" void PopulateItemLocations(const char* spoilerfilename) { } extern "C" GetItemID GetItemFromSceneAndParams(s16 sceneNum, s16 actorParams) { - OTRGlobals::Instance->gRandomizer->GetItemFromSceneAndParams(sceneNum, actorParams); + return OTRGlobals::Instance->gRandomizer->GetItemFromSceneAndParams(sceneNum, actorParams); } \ No newline at end of file