All pastes #459695 Raw Edit

Anonymous

public text v1 · immutable
#459695 ·published 2007-04-26 16:54 UTC
rendered paste body
Index: src/client/cl_menu.c
===================================================================
--- src/client/cl_menu.c        (Revision 7946)
+++ src/client/cl_menu.c        (Arbeitskopie)
@@ -4239,15 +4239,8 @@
 
        /* maybe the hud doesn't have a chatscreen node - or we don't have a hud */
        if (chatBufferNode) {
-#ifdef DEBUG
-               Com_Printf("Unhide the node\n");
-#endif
                MN_UnHideNode(chatBufferNode);
-               menuStack[menuStackPos]->eventTime = cls.realtime;
-#ifdef DEBUG
-       } else {
-               Com_Printf("Could not get the chatscreen node from current menu\n");
-#endif
+               menuStack[menuStackPos]->eventTime = cls.realtime + menuStack[menuStackPos]->eventNode->timeOut;
        }
 }