Fixed: Bad serialization of sound name in background sounds

--HG--
branch : sound_dev
This commit is contained in:
kaetemi 2012-06-04 13:28:03 +02:00
parent fc8e83a0b9
commit a57881561b

View file

@ -69,17 +69,7 @@ public:
void serial(NLMISC::IStream &s)
{
std::string soundName;
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);
}
SoundName.serialString(s, "sound");
s.serial(Filter);
}
};