- migrate a large part of the sound code to FSoundIDs.
This has always been a wild mixture of IDs and ints.
This commit is contained in:
parent
1a6da52961
commit
160633a4a2
35 changed files with 224 additions and 205 deletions
|
|
@ -156,7 +156,7 @@ const char* GameInfoBorders[] =
|
|||
{ \
|
||||
sc.ScriptError("Value for '%s' can not be longer than %d characters.", #key, length); \
|
||||
} \
|
||||
gameinfo.key[gameinfo.key.Reserve(1)] = FSoundID(sc.String); \
|
||||
gameinfo.key[gameinfo.key.Reserve(1)] = S_FindSound(sc.String); \
|
||||
} \
|
||||
while (sc.CheckToken(',')); \
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue