]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
Con_ClearNotify: only hide notify, not chat
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 1 Mar 2012 13:32:55 +0000 (13:32 +0000)
committerRudolf Polzer <divverent@alientrap.org>
Fri, 2 Mar 2012 16:48:29 +0000 (17:48 +0100)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11739 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=83b5a04f723e6cfa927033719685fe3a8da72ba7

console.c

index 46b5840574c8922873cec49da297d7948af55bc0..cd2bc11159bde9a792e63d2c1435358d63835086 100644 (file)
--- 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;
 }