Skip to content

Commit

Permalink
Fix Majora's Mask 3D
Browse files Browse the repository at this point in the history
  • Loading branch information
magcius committed Oct 19, 2024
1 parent b83cc74 commit ff4ea9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/OcarinaOfTime3D/mm3d_scenes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -920,7 +920,7 @@ class SceneDesc implements Viewer.SceneDesc {
if (gar !== null) {
const cmabFile = gar.files.find((file) => file.name.startsWith(`ROOM${i}/`) && file.name.endsWith('.cmab') && !file.name.endsWith('_t.cmab'));
if (cmabFile) {
const cmab = CMAB.parse(CMB.Version.Ocarina, cmabFile.buffer);
const cmab = CMAB.parse(CMB.Version.LuigisMansion, cmabFile.buffer);
const cmabData = new CmabData(cache, cmab);
dataHolder.cmabData.push(cmabData);
roomRenderer.bindCMAB(cmabData);
Expand Down

0 comments on commit ff4ea9e

Please sign in to comment.