- Print a warning instead of error out on unsupported ZScript version.

This commit is contained in:
drfrag 2019-07-11 18:20:57 +02:00
parent 1d77f880a4
commit 19df6559a8

View file

@ -405,7 +405,7 @@ static void DoParse(int lumpnum)
} }
if (state.ParseVersion > MakeVersion(VER_MAJOR, VER_MINOR, VER_REVISION) && !Args->CheckParm("-zsvoverride")) if (state.ParseVersion > MakeVersion(VER_MAJOR, VER_MINOR, VER_REVISION) && !Args->CheckParm("-zsvoverride"))
{ {
sc.ScriptError("ZScript version mismatch. %d.%d.%d required but only %d.%d.%d supported.\nTry '-zsvoverride'", Printf(TEXTCOLOR_RED "Warning: ZScript version mismatch. %d.%d.%d required but only %d.%d.%d supported.\n",
state.ParseVersion.major, state.ParseVersion.minor, state.ParseVersion.revision, VER_MAJOR, VER_MINOR, VER_REVISION); state.ParseVersion.major, state.ParseVersion.minor, state.ParseVersion.revision, VER_MAJOR, VER_MINOR, VER_REVISION);
} }
} }