From: Samual Lenks Date: Wed, 6 Mar 2013 22:55:43 +0000 (-0500) Subject: Kill centerprints on client too when doing Destroy_All_Notifications() X-Git-Tag: xonotic-v0.7.0~62^2~13 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=65723f25f153be656501fbcb4dd19e684c28d981;p=xonotic%2Fxonotic-data.pk3dir.git Kill centerprints on client too when doing Destroy_All_Notifications() --- diff --git a/qcsrc/common/notifications.qc b/qcsrc/common/notifications.qc index 0ac80e3f1..cf495153e 100644 --- a/qcsrc/common/notifications.qc +++ b/qcsrc/common/notifications.qc @@ -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