- added version check for member variables.

This commit is contained in:
Christoph Oelckers 2017-03-05 20:40:07 +01:00
commit 8a5daf211c
7 changed files with 58 additions and 13 deletions

View file

@ -386,8 +386,7 @@ static void DoParse(int lumpnum)
}
else
{
state.ParseVersion.major = 2; // 2.3 is the first version of ZScript.
state.ParseVersion.minor = 3;
state.ParseVersion = MakeVersion(2, 3); // 2.3 is the first version of ZScript.
sc.RestorePos(saved);
}
}