]> de.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)
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 4011ae10eb2c9d645bd7c7fb0cc759abc82d7366..e21f2cbfb4c88abb54e51b0f49ad3a4d3a6fc390 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;
 }