mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-01-09 04:58:03 -05:00
Fix: Gameplay Stats OOB (#2673)
* Handle `sceneMapping` OOB behavior * whoops * More solid definition of upper bound
This commit is contained in:
parent
44906598e4
commit
d434941724
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user