Disallow few more characters.

This commit is contained in:
Jaime Passos 2019-12-28 21:05:42 -03:00
parent 4dafc59133
commit 37b1953a14

View file

@ -3272,8 +3272,10 @@ void G_AddGametypeConstant(INT16 gtype, const char *newgtconst)
char rc = tmpconst[r]; char rc = tmpconst[r];
switch (rc) switch (rc)
{ {
// Space // Space, at sign and question mark
case ' ': case ' ':
case '@':
case '?':
// Used for operations // Used for operations
case '+': case '+':
case '-': case '-':
@ -3281,6 +3283,8 @@ void G_AddGametypeConstant(INT16 gtype, const char *newgtconst)
case '/': case '/':
case '%': case '%':
case '^': case '^':
case '&':
case '!':
// Part of Lua's syntax // Part of Lua's syntax
case '#': case '#':
case '=': case '=':