- removed the string assignment operators.
These all caught literal 0's as well
This commit is contained in:
parent
d173c0453c
commit
b89c4affae
9 changed files with 17 additions and 27 deletions
|
|
@ -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++;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue