Disabled /sound (#719)

floating-point
Felix Wagner 2012-04-10 14:53:24 +01:00
parent 2179adae7c
commit 6aa5050fb0
2 changed files with 4 additions and 3 deletions

View File

@ -586,7 +586,7 @@ namespace C4GameLobby
LogF("/kick [client] - %s", LoadResStr("IDS_TEXT_KICKTHESPECIFIEDCLIENT"));
LogF("/observer [client] - %s", LoadResStr("IDS_TEXT_SETTHESPECIFIEDCLIENTTOOB"));
LogF("/me [action] - %s", LoadResStr("IDS_TEXT_PERFORMANACTIONINYOURNAME"));
LogF("/sound [sound] - %s", LoadResStr("IDS_TEXT_PLAYASOUNDFROMTHEGLOBALSO"));
// LogF("/sound [sound] - %s", LoadResStr("IDS_TEXT_PLAYASOUNDFROMTHEGLOBALSO"));
LogF("/team [message] - %s", LoadResStr("IDS_MSG_SENDAPRIVATEMESSAGETOYOUR"));
LogF("/plrclr [player] [RGB] - %s", LoadResStr("IDS_TEXT_CHANGETHECOLOROFTHESPECIF"));
LogF("/plrclr [RGB] - %s", LoadResStr("IDS_TEXT_CHANGEYOUROWNPLAYERCOLOR"));

View File

@ -372,11 +372,12 @@ bool C4MessageInput::ProcessInput(const char *szText)
szMsg = szText+4;
}
// Starts with "/sound ": Sound-Message
else if (SEqual2NoCase(szText, "/sound "))
/* else if (SEqual2NoCase(szText, "/sound "))
{
eMsgType = C4CMT_Sound;
szMsg = szText+7;
}
}*/
// Disabled due to spamming
// Starts with "/alert": Taskbar flash (message optional)
else if (SEqual2NoCase(szText, "/alert ") || SEqualNoCase(szText, "/alert"))
{