From: Samual Lenks Date: Sat, 24 Aug 2013 23:38:07 +0000 (-0400) Subject: Fix restartnotifs command X-Git-Tag: xonotic-v0.8.0~341^2~8 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=15a6e2cb8dfd68d8fedc67d2b140ca70dfe695e2;p=xonotic%2Fxonotic-data.pk3dir.git Fix restartnotifs command --- diff --git a/qcsrc/common/command/generic.qc b/qcsrc/common/command/generic.qc index 143f3bd78..4ca8b3780 100644 --- a/qcsrc/common/command/generic.qc +++ b/qcsrc/common/command/generic.qc @@ -436,19 +436,21 @@ void GenericCommand_restartnotifs(float request) print(sprintf( strcat( "Restart_Notifications(): Restarting %d notifications... ", - "Counts: MSG_ANNCE = %d, MSG_INFO = %d, MSG_CENTER = %d, MSG_MULTI = %d\n" + "Counts: MSG_ANNCE = %d, MSG_INFO = %d, MSG_CENTER = %d, MSG_MULTI = %d, MSG_CHOICE = %d\n" ), ( NOTIF_ANNCE_COUNT + NOTIF_INFO_COUNT + NOTIF_CENTER_COUNT + - NOTIF_MULTI_COUNT + NOTIF_MULTI_COUNT + + NOTIF_CHOICE_COUNT ), NOTIF_ANNCE_COUNT, NOTIF_INFO_COUNT, NOTIF_CENTER_COUNT, - NOTIF_MULTI_COUNT - )); + NOTIF_MULTI_COUNT, + NOTIF_CHOICE_COUNT + )); Destroy_All_Notifications(); CALL_ACCUMULATED_FUNCTION(RegisterNotifications); #else