]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Kill centerprints on client too when doing Destroy_All_Notifications()
authorSamual Lenks <samual@xonotic.org>
Wed, 6 Mar 2013 22:55:43 +0000 (17:55 -0500)
committerSamual Lenks <samual@xonotic.org>
Wed, 6 Mar 2013 22:55:43 +0000 (17:55 -0500)
qcsrc/common/notifications.qc

index 0ac80e3f15c77105e3def9befd62e3b615510b5d..cf495153efec43c88f8a4ed6d47ce630cf701742 100644 (file)
@@ -125,9 +125,11 @@ void Destroy_All_Notifications(void)
                        Destroy_Notification_Entity(notif); \
                }
 
-       // kill all networked notifications
+       // kill all networked notifications and centerprints
        #ifdef SVQC
        Kill_Notification(NOTIF_ALL, world, 0, 0);
+       #else
+       reset_centerprint_messages();
        #endif
 
        // kill all real notification entities