]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix these macros
authorSamual Lenks <samual@xonotic.org>
Tue, 25 Sep 2012 20:18:02 +0000 (16:18 -0400)
committerSamual Lenks <samual@xonotic.org>
Tue, 25 Sep 2012 20:18:02 +0000 (16:18 -0400)
qcsrc/common/notifications.qc

index f445ebcdeea48279d88f315ab8ddb6f7821b8da1..c1fa98e82a2e4956c6ea28e214e8216f6bc5ca31 100644 (file)
@@ -10,8 +10,8 @@
 #define MSG_WEAPON 4 // weapon messages (like "You got the Nex", sent to weapon notify panel)
 
 // collapse multiple arguments into one argument
-#define CLPS4(arg1,arg2,arg3,arg4) arg1, arg2, arg3, arg4
-#define CLPS3(arg1,arg2,arg3) arg1, arg2, arg3
+#define CLPS4(s1,s2,s3,s4) s1, s2, s3, s4
+#define CLPS3(s1,s2,s3) s1, s2, s3
 #define CLPS2(s1,s2) s1, s2
 
 // accumulate functions for declarations