More hacking [skipnotify]

This commit is contained in:
Andrei Drexler 2011-03-10 21:55:38 +00:00
parent b26f0cf6e1
commit b31581a932

View file

@ -1194,7 +1194,7 @@ void CG_AddMessage(const char* str)
int lastcolor; int lastcolor;
int chatHeight; int chatHeight;
if (!cg_messageQueue.integer || cg_messageQueueTime.integer <= 0) { if (!cg_messageQueue.integer || cg_messageQueueTime.integer <= 0 || !Q_strncmp(str, "[skipnotify]", 12)) {
// team chat disabled, dump into normal chat // team chat disabled, dump into normal chat
cgs.teamChatPos = cgs.teamLastChatPos = 0; cgs.teamChatPos = cgs.teamLastChatPos = 0;
trap_Print(str); trap_Print(str);