mirror of
https://github.com/open-goal/jak-project
synced 2026-09-03 02:14:07 -04:00
use only the real level name in the Loader (#3495)
This fixes issues with certain Jak 3 levels not rendering because there is a mismatch between the DGO name, nickname and real level name (bsp name). FR3s use a different filename, so you can delete the ones you have after this is merged. This affects custom levels, but I don't have that toolchain set up so someone else will have to test that.
This commit is contained in:
@@ -2045,6 +2045,7 @@ void BspHeader::read_from_file(const decompiler::LinkedObjectFile& file,
|
||||
|
||||
file_info.read_from_file(get_and_check_ref_to_basic(ref, "info", "file-info", dts), dts);
|
||||
bsphere.read_from_file(get_field_ref(ref, "bsphere", dts));
|
||||
name = read_symbol_field(ref, "name", dts);
|
||||
|
||||
texture_remap_table.clear();
|
||||
s32 tex_remap_len = read_plain_data_field<s32>(ref, "texture-remap-table-len", dts);
|
||||
|
||||
Reference in New Issue
Block a user