mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 20:41:46 +00:00
Disallow few more characters.
This commit is contained in:
parent
4dafc59133
commit
37b1953a14
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];
|
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 '=':
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue