summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 89165e5)
raw | patch | inline | side by side (parent: 89165e5)
author | fgsfds <pvt.fgsfds@gmail.com> | |
Mon, 2 May 2022 13:51:28 +0000 (16:51 +0300) | ||
committer | fgsfds <pvt.fgsfds@gmail.com> | |
Mon, 2 May 2022 13:51:28 +0000 (16:51 +0300) |
src/game/g_console.pas | patch | blob | history | |
src/game/g_game.pas | patch | blob | history |
diff --git a/src/game/g_console.pas b/src/game/g_console.pas
index 983b63b195c285158b332ed9e99b910309aa55c5..7ae8166192d7c16994c1855083076335fbf88d3a 100644 (file)
--- a/src/game/g_console.pas
+++ b/src/game/g_console.pas
AddCommand('chat', GameCommands);
AddCommand('teamchat', GameCommands);
AddCommand('announce', GameCommands);
+ AddCommand('an', GameCommands);
AddCommand('game', GameCommands);
AddCommand('host', GameCommands);
AddCommand('map', GameCommands);
diff --git a/src/game/g_game.pas b/src/game/g_game.pas
index 6049b9062b623b4ecbee540b685c17f6aca9e1c2..d1246ba0c7dabdc027035501fe4fee5bd9bfc6a7 100644 (file)
--- a/src/game/g_game.pas
+++ b/src/game/g_game.pas
end else
g_Console_Add(_lc[I_MSG_GM_UNAVAIL]);
end
- else if cmd = 'announce' then
+ else if (cmd = 'an') or (cmd = 'announce') then
begin
if g_Game_IsNet then
begin