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.8.0~96^2~291 X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=commitdiff_plain;h=83b5a04f723e6cfa927033719685fe3a8da72ba7;ds=sidebyside Con_ClearNotify: only hide notify, not chat git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11739 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/console.c b/console.c index 4011ae10..e21f2cbf 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; }