DEADSOFTWARE

whitelist new cvars
[d2df-sdl.git] / src / game / g_console.pas
index 3f285b4badce5fe4d574e455d8715f9333e35ec0..01cd41ab1c677fa9c45a791de02d2a7ea4d59644 100644 (file)
@@ -929,6 +929,7 @@ begin
   AddCommand('g_maxlives', GameCVars);
   AddCommand('g_warmuptime', GameCVars);
   AddCommand('g_spawn_invul', GameCVars);
+  AddCommand('g_respawn_items', GameCVars);
   AddCommand('net_interp', GameCVars);
   AddCommand('net_forceplayerupdate', GameCVars);
   AddCommand('net_predictself', GameCVars);
@@ -972,6 +973,7 @@ begin
   AddCommand('reconnect', GameCommands);
   AddCommand('say', GameCommands);
   AddCommand('tell', GameCommands);
+  AddCommand('centerprint', GameCommands);
   AddCommand('overtime', GameCommands);
   AddCommand('rcon_password', GameCommands);
   AddCommand('rcon', GameCommands);
@@ -1018,6 +1020,7 @@ begin
   WhitelistCommand('restart');
   WhitelistCommand('kick');
   WhitelistCommand('ban');
+  WhitelistCommand('centerprint');
 
   WhitelistCommand('addbot');
   WhitelistCommand('bot_add');
@@ -1032,6 +1035,10 @@ begin
   WhitelistCommand('g_allow_monsters');
   WhitelistCommand('g_scorelimit');
   WhitelistCommand('g_timelimit');
+  WhitelistCommand('g_dm_keys');
+  WhitelistCommand('g_respawn_items');
+  WhitelistCommand('g_spawn_invul');
+  WhitelistCommand('g_warmuptime');
 
   g_Console_ResetBinds;
   g_Console_ReadConfig(configScript);