Skip to content

[Bugfix] Fixes check tracker crash on max debug file creation#3309

Merged
aMannus merged 2 commits intoHarbourMasters:developfrom
Malkierian:fix-tracker-crash-max-debug
Nov 4, 2023
Merged

[Bugfix] Fixes check tracker crash on max debug file creation#3309
aMannus merged 2 commits intoHarbourMasters:developfrom
Malkierian:fix-tracker-crash-max-debug

Conversation

@Malkierian
Copy link
Contributor

@Malkierian Malkierian commented Oct 20, 2023

I don't even know why I was relying on a range of SceneIDs anyway, I already had access to the scene IDs I wanted to check in RCAreaFromSceneID. This changes the initialization to iterate over RCAreaFromSceneID and use the values directly, fixing said crash (was trying to look up a dungeon map for a scene that didn't have an associated area in RCAreaFromSceneID).

Also renamed the map to DungeonRCAreasBySceneID for clarification.

Build Artifacts

@Malkierian
Copy link
Contributor Author

This has made me realize that RCAreas need to be in their own table, as I have IsAreaDungeon, DungeonRCAreasBySceneID, rcAreaNames, and DungeonSceneLookupByArea scattered about the tracker at the moment XD.

@Malkierian
Copy link
Contributor Author

This would also simplify the item locations tables a small bit, too. It'll be done on v3, though.

@aMannus aMannus merged commit e88c8e6 into HarbourMasters:develop Nov 4, 2023
@Malkierian Malkierian deleted the fix-tracker-crash-max-debug branch November 4, 2023 21:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants