- continued refactoring on sound code.
The game independent part of the code has been mostly isolated.
This commit is contained in:
parent
fd181f469d
commit
b9582cc98e
22 changed files with 1524 additions and 1310 deletions
|
|
@ -1663,7 +1663,7 @@ FSerializer &Serialize(FSerializer &arc, const char *key, FSoundID &sid, FSoundI
|
|||
if (!arc.w->inObject() || def == nullptr || sid != *def)
|
||||
{
|
||||
arc.WriteKey(key);
|
||||
const char *sn = (const char*)sid;
|
||||
const char *sn = S_GetSoundName(sid);
|
||||
if (sn != nullptr) arc.w->String(sn);
|
||||
else arc.w->Null();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue