Refactor dungeon entrance loading and clean up unused renderer object

This commit is contained in:
scawful
2025-05-08 22:35:10 -04:00
parent 68c1ab2f02
commit 179ab5bc40
3 changed files with 4 additions and 4 deletions

View File

@@ -70,11 +70,11 @@ absl::Status DungeonEditor::Load() {
LoadDungeonRoomSize();
// LoadRoomEntrances
for (int i = 0; i < 0x07; ++i) {
entrances_[i] = zelda3::RoomEntrance(*rom(), i, true);
entrances_[i] = zelda3::RoomEntrance(rom(), i, true);
}
for (int i = 0; i < 0x85; ++i) {
entrances_[i + 0x07] = zelda3::RoomEntrance(*rom(), i, false);
entrances_[i + 0x07] = zelda3::RoomEntrance(rom(), i, false);
}
// Load the palette group and palette for the dungeon