- handle all remaining places of sound ID conversions after removing the conversion operators.
This commit is contained in:
parent
160633a4a2
commit
d173c0453c
19 changed files with 68 additions and 71 deletions
|
|
@ -1334,7 +1334,7 @@ FSerializer &Serialize(FSerializer &arc, const char *key, FSoundID &sid, FSoundI
|
|||
//If sound name here is not reliable, we need to save by index instead.
|
||||
int id = sid.index();
|
||||
Serialize(arc, key, id, nullptr);
|
||||
if (arc.isReading()) sid = FSoundID(id);
|
||||
if (arc.isReading()) sid = FSoundID::fromInt(id);
|
||||
}
|
||||
else if (arc.isWriting())
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue