Only reject ASCII control characters when reading quoted strings

This commit is contained in:
Randy Heit 2016-01-07 13:31:29 -06:00
parent db70239897
commit c9fd7a9062

View file

@ -282,7 +282,7 @@ bool SC_GetString ()
sc_StringQuoted = true;
while (*ScriptPtr != ASCII_QUOTE)
{
if (*ScriptPtr < ' ')
if (*ScriptPtr >= 0 && *ScriptPtr < ' ')
{
ScriptPtr++;
}