[jasper/world] Rework World system
All checks were successful
Build / build (push) Successful in 3m43s

This commit is contained in:
2025-01-08 22:06:04 -06:00
parent 95587f664f
commit fc184258c9
14 changed files with 274 additions and 122 deletions

View File

@@ -140,7 +140,7 @@ void WorldObjectSetEditorImGui::loadObj() noexcept {
w = m_subsheet->columns;
h = m_subsheet->rows;
}
auto const idx = getTileIdx(*m_tileSheet, obj.subsheetId);
auto const idx = getTileIdx(*m_tileSheet, obj.subsheetId).or_value(0);
oxLogError(m_colView.setup(
m_doc.tilesheet,
m_doc.palettes[obj.palBank],