projects
/
xonotic
/
xonotic-data.pk3dir.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9ce9789
)
Fix restartnotifs command
author
Samual Lenks <samual@xonotic.org>
Sat, 24 Aug 2013 23:38:07 +0000
(19:38 -0400)
committer
Samual Lenks <samual@xonotic.org>
Sat, 24 Aug 2013 23:38:07 +0000
(19:38 -0400)
qcsrc/common/command/generic.qc
patch
|
blob
|
history
diff --git
a/qcsrc/common/command/generic.qc
b/qcsrc/common/command/generic.qc
index
143f3bd
..
4ca8b37
100644
(file)
--- 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... ",
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_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_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
Destroy_All_Notifications();
CALL_ACCUMULATED_FUNCTION(RegisterNotifications);
#else