- removed the string assignment operators.

These all caught literal 0's as well
This commit is contained in:
Christoph Oelckers 2022-11-24 15:52:02 +01:00
commit b89c4affae
9 changed files with 17 additions and 27 deletions

View file

@ -1358,12 +1358,12 @@ FSerializer &Serialize(FSerializer &arc, const char *key, FSoundID &sid, FSoundI
}
else if (val->IsNull())
{
sid = 0;
sid = NO_SOUND;
}
else
{
Printf(TEXTCOLOR_RED "string type expected for '%s'\n", key);
sid = 0;
sid = NO_SOUND;
arc.mErrors++;
}
}