- 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
parent 839b737429
commit 7dfd49b42e

View file

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