]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Add that check there
authorSamual Lenks <samual@xonotic.org>
Sat, 2 Mar 2013 18:41:03 +0000 (13:41 -0500)
committerSamual Lenks <samual@xonotic.org>
Sat, 2 Mar 2013 18:41:03 +0000 (13:41 -0500)
qcsrc/common/notifications.qc

index 96e881ca2525ebc64aa785f66af5b68f3f2c981b..d49e56913db83f1c90bab2926dcaf474ea87349e 100644 (file)
@@ -177,7 +177,10 @@ string Process_Notif_Args(
 
                                switch(strtolower(selected))
                                {
-                                       #define ARG_CASE(prog,selected,result) case selected: { ++sel_num; break; }
+                                       #define ARG_CASE(prog,selected,result) \
+                                               #if (prog != ARG_DC) \
+                                                       case selected: { ++sel_num; break; } \
+                                               #endif
                                        NOTIF_ARGUMENT_LIST
                                        #undef ARG_CASE
                                        default: