Disallow few more characters.

This commit is contained in:
Jaime Passos 2019-12-28 21:05:42 -03:00
parent 5b1b556946
commit dede51fc4c

View file

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