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)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 1 Mar 2012 13:32:55 +0000 (13:32 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11739 d7cf8633-e32d-0410-b094-e92efae38249

console.c

index 4011ae1..e21f2cb 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;
 }