mirror of
https://github.com/ZDoom/Raze.git
synced 2025-06-04 19:20:43 +00:00
- refactored sound user data to be easier to serialize.
This commit is contained in:
parent
83adb81756
commit
3aea6d1fad
12 changed files with 60 additions and 55 deletions
|
@ -1479,7 +1479,7 @@ FSerializer &Serialize(FSerializer &arc, const char *key, FSoundID &sid, FSoundI
|
|||
{
|
||||
#if 1
|
||||
int id = sid;
|
||||
Serialize(arc, key, sid, def);
|
||||
Serialize(arc, key, id, nullptr);
|
||||
if (arc.isReading()) sid = FSoundID(id);
|
||||
#else
|
||||
if (arc.isWriting())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue