mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-02-23 11:51:26 +00:00
- Bumped ZScript version to be the same as in GZDoom as Graf suggested.
This commit is contained in:
parent
9ea43c4b14
commit
3e0fa5cc1b
2 changed files with 8 additions and 4 deletions
|
@ -403,11 +403,15 @@ static void DoParse(int lumpnum)
|
|||
{
|
||||
sc.ScriptError("Bad version directive");
|
||||
}
|
||||
if (state.ParseVersion > MakeVersion(VER_MAJOR, VER_MINOR, VER_REVISION) && !Args->CheckParm("-zsvoverride"))
|
||||
if (state.ParseVersion > MakeVersion(VER_MAJOR, VER_MINOR, VER_REVISION))
|
||||
{
|
||||
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);
|
||||
}
|
||||
else if (state.ParseVersion > MakeVersion(3, 9, 0))
|
||||
{
|
||||
Printf(TEXTCOLOR_RED "Warning: ZScript version %d.%d.%d only partially supported.\n", VER_MAJOR, VER_MINOR, VER_REVISION);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
@ -48,9 +48,9 @@ const char *GetVersionString();
|
|||
#define RC_PRODUCTVERSION 3,83,1
|
||||
#define RC_PRODUCTVERSION2 VERSIONSTR
|
||||
// These are for content versioning.
|
||||
#define VER_MAJOR 3
|
||||
#define VER_MINOR 9
|
||||
#define VER_REVISION 0
|
||||
#define VER_MAJOR 4
|
||||
#define VER_MINOR 2
|
||||
#define VER_REVISION 3
|
||||
|
||||
// Version identifier for network games.
|
||||
// Bump it every time you do a release unless you're certain you
|
||||
|
|
Loading…
Reference in a new issue