diff --git a/soh/soh/Enhancements/gameplaystats.cpp b/soh/soh/Enhancements/gameplaystats.cpp index 50583b554..011183609 100644 --- a/soh/soh/Enhancements/gameplaystats.cpp +++ b/soh/soh/Enhancements/gameplaystats.cpp @@ -251,8 +251,10 @@ std::string ResolveSceneID(int sceneID, int roomID){ } else if (sceneID == SCENE_HAKASITARELAY) { //Only the last room of Dampe's Grave (rm 6) is considered the windmill scene = roomID == 6 ? "Windmill" : "Dampe's Grave"; - } else { + } else if (sceneID < SCENE_ID_MAX) { scene = sceneMappings[sceneID]; + } else { + scene = "???"; } return scene; }