mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-24 09:58:46 +00:00
Fixed: Bad serialization of sound name in background sounds
This commit is contained in:
parent
cb1d9a9f73
commit
3fc8a264b5
1 changed files with 1 additions and 11 deletions
|
@ -69,17 +69,7 @@ public:
|
||||||
|
|
||||||
void serial(NLMISC::IStream &s)
|
void serial(NLMISC::IStream &s)
|
||||||
{
|
{
|
||||||
std::string soundName;
|
SoundName.serialString(s, "sound");
|
||||||
if (s.isReading())
|
|
||||||
{
|
|
||||||
s.serial(soundName);
|
|
||||||
SoundName = NLMISC::CSheetId(soundName);/*NLMISC::CStringMapper::map(soundName)*/;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
soundName = SoundName.toString();/* NLMISC::CStringMapper::unmap(SoundName)*/;
|
|
||||||
s.serial(soundName);
|
|
||||||
}
|
|
||||||
s.serial(Filter);
|
s.serial(Filter);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue