- tell the user the game version number when version is not specified as a hint

This commit is contained in:
Rachael Alexanderson 2019-12-31 04:23:53 -05:00 committed by drfrag
parent 1154207ec0
commit 93dfdc1c33

View file

@ -1967,7 +1967,7 @@ void C_GrabCVarDefaults ()
sc.MustGetString();
if (!sc.Compare("version"))
sc.ScriptError("Must declare version for defcvars!");
sc.ScriptError("Must declare version for defcvars! (currently: %i)", gamelastrunversion);
sc.MustGetNumber();
lumpversion = sc.Number;
if (lumpversion > gamelastrunversion)