mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-23 11:21:01 +00:00
Disallow few more characters.
This commit is contained in:
parent
5b1b556946
commit
dede51fc4c
1 changed files with 5 additions and 1 deletions
|
@ -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 '=':
|
||||
|
|
Loading…
Reference in a new issue