From: divverent Date: Thu, 1 Mar 2012 13:32:55 +0000 (+0000) Subject: Con_ClearNotify: only hide notify, not chat X-Git-Tag: xonotic-v0.6.0~2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=3bf5e5339157e5cedf32c3e157c0bf8e6210260d;p=xonotic%2Fdarkplaces.git Con_ClearNotify: only hide notify, not chat git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11739 d7cf8633-e32d-0410-b094-e92efae38249 ::stable-branch::merge=83b5a04f723e6cfa927033719685fe3a8da72ba7 --- diff --git a/console.c b/console.c index 46b58405..cd2bc111 100644 --- a/console.c +++ b/console.c @@ -590,7 +590,8 @@ void Con_ClearNotify (void) { int i; for(i = 0; i < CON_LINES_COUNT; ++i) - CON_LINES(i).mask |= CON_MASK_HIDENOTIFY; + if(!(CON_LINES(i).mask & CON_MASK_CHAT)) + CON_LINES(i).mask |= CON_MASK_HIDENOTIFY; }