mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-04-20 00:02:55 +00:00
Fix SoundAliasCustom loading for IW4 actually being loaded like const char**
This commit is contained in:
parent
c952aacda1
commit
af0dc46b31
@ -568,9 +568,13 @@ reorder:
|
||||
|
||||
// SndAliasCustom
|
||||
use SndAliasCustom;
|
||||
set string soundName;
|
||||
set count name 1;
|
||||
set reusable name;
|
||||
set condition sound never;
|
||||
|
||||
// snd_alias_list_name
|
||||
set string snd_alias_list_name::soundName;
|
||||
|
||||
// =========================================
|
||||
// MenuList
|
||||
// =========================================
|
||||
|
@ -2278,9 +2278,14 @@ namespace IW4
|
||||
MISSILE_GUIDANCE_COUNT
|
||||
};
|
||||
|
||||
union SndAliasCustom
|
||||
struct snd_alias_list_name
|
||||
{
|
||||
const char* soundName;
|
||||
};
|
||||
|
||||
union SndAliasCustom
|
||||
{
|
||||
snd_alias_list_name* name;
|
||||
snd_alias_list_t* sound;
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user