mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-16 17:41:19 +00:00
- Print a warning instead of error out on unsupported ZScript version.
This commit is contained in:
parent
1d77f880a4
commit
19df6559a8
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue