- removed the string constructors from FSoundID.

Due to C++ conversion rules this was a bit too volatile. There's really not enough places where being able to pass a string directly into the sound API was beneficial - the two most frequent functions now got overloaded variants.
This commit is contained in:
Christoph Oelckers 2022-11-24 16:49:04 +01:00
commit 65a26d6779
26 changed files with 66 additions and 70 deletions

View file

@ -583,7 +583,7 @@ void R_InitSkins (void)
for (j = 0; j < NUMSKINSOUNDS; ++j)
{
playersoundrefs[j] = skinsoundnames[j][1];
playersoundrefs[j] = S_FindSound(skinsoundnames[j][1]);
}
while ((base = fileSystem.FindLump ("S_SKIN", &lastlump, true)) != -1)