mirror of
https://github.com/izzy2lost/Diddy-Kong-Racing.git
synced 2026-06-19 01:16:26 -07:00
Moved _ID to after ASSET_OBJECT
This commit is contained in:
+304
-304
File diff suppressed because it is too large
Load Diff
@@ -111,7 +111,14 @@ void AssetEnums::_write_single_asset_section_enums(const std::string §ionId,
|
||||
continue;
|
||||
}
|
||||
std::string objectId = assetJson->get_string(ptr);
|
||||
sectionEnum.add_symbol(objectId + "_ID");
|
||||
|
||||
if(StringHelper::starts_with(objectId, "ASSET_OBJECT_")) {
|
||||
objectId.insert(13, "ID_");
|
||||
} else {
|
||||
objectId += "_ID";
|
||||
}
|
||||
|
||||
sectionEnum.add_symbol(objectId);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user