fix: handled all audio and parameter types correctly to prevent crashes
Original commit: https://github.com/Patoke/LCERenewed/commit/8658049e71723ee8d46912a050636884d3963e71
This commit is contained in:
@@ -14,7 +14,15 @@ public:
|
||||
|
||||
e_AudioType_Overworld = 0,
|
||||
e_AudioType_Nether,
|
||||
e_AudioType_End,
|
||||
e_AudioType_End,
|
||||
|
||||
// @3UR: thanks https://github.com/LCERD/PCK-Studio/blob/500fc74395ce99fe20cbd7598999bfab3b606745/PckStudio.Core/FileFormats/PckAudioFile.cs#L25
|
||||
e_AudioType_Creative,
|
||||
e_AudioType_Menu,
|
||||
e_AudioType_Battle,
|
||||
e_AudioType_Tumble,
|
||||
e_AudioType_Glide,
|
||||
e_AudioType_BuildOff,
|
||||
|
||||
e_AudioType_Max,
|
||||
};
|
||||
@@ -24,6 +32,7 @@ public:
|
||||
|
||||
e_AudioParamType_Cuename = 0,
|
||||
e_AudioParamType_Credit,
|
||||
e_AudioParamType_CreditId,
|
||||
|
||||
e_AudioParamType_Max,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user