mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 23:01:50 +00:00
- for the time being, make ZScript command line switch locked so that everybody understands that it's not ready for use in released mods yet.
This commit is contained in:
parent
b2d1b0d7a6
commit
52645afb4b
1 changed files with 7 additions and 0 deletions
|
@ -414,7 +414,14 @@ void ParseScripts()
|
||||||
while ((lump = Wads.FindLump("ZSCRIPT", &lastlump)) != -1)
|
while ((lump = Wads.FindLump("ZSCRIPT", &lastlump)) != -1)
|
||||||
{
|
{
|
||||||
DoParse(lump);
|
DoParse(lump);
|
||||||
|
if (!Args->CheckParm("-zscript"))
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Printf(TEXTCOLOR_PURPLE "WARNING!!!\n");
|
||||||
|
Printf(TEXTCOLOR_PURPLE "As of this version, Zscript is still considered a feature in development which can change " TEXTCOLOR_RED "WITHOUT WARNING!!!\n");
|
||||||
|
Printf(TEXTCOLOR_PURPLE "Use at your own risk!\n");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue