diff options
Diffstat (limited to 'console_cmds.c')
-rw-r--r-- | console_cmds.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/console_cmds.c b/console_cmds.c index 548f5982e..285fda183 100644 --- a/console_cmds.c +++ b/console_cmds.c @@ -42,7 +42,7 @@ static uint32 GetArgumentInteger(const char* arg) DEF_CONSOLE_CMD_HOOK(ConCmdHookNoNetwork) { if (_networking) { - IConsoleError("this command is forbidden in multiplayer"); + IConsoleError("This command is forbidden in multiplayer."); return false; } return true; @@ -52,7 +52,7 @@ DEF_CONSOLE_CMD_HOOK(ConCmdHookNoNetwork) DEF_CONSOLE_VAR_HOOK(ConVarHookNoNetwork) { if (_networking) { - IConsoleError("this variable is forbidden in multiplayer"); + IConsoleError("This variable is forbidden in multiplayer."); return false; } return true; @@ -62,7 +62,7 @@ DEF_CONSOLE_VAR_HOOK(ConVarHookNoNetwork) DEF_CONSOLE_VAR_HOOK(ConVarHookNoNetClient) { if (!_networking_server) { - IConsoleError("this variable only makes sense for a network server"); + IConsoleError("This variable only makes sense for a network server."); return false; } return true; @@ -314,7 +314,6 @@ DEF_CONSOLE_CMD(ConHelp) DEF_CONSOLE_CMD(ConRandom) { - /* XXX memory leak */ _iconsole_var* result; result = IConsoleVarAlloc(ICONSOLE_VAR_UINT16); IConsoleVarSetValue(result, rand()); |