]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix compilation when notifications debug is enabled
authorterencehill <piuntn@gmail.com>
Sat, 7 May 2016 20:55:51 +0000 (22:55 +0200)
committerterencehill <piuntn@gmail.com>
Sat, 7 May 2016 20:55:51 +0000 (22:55 +0200)
qcsrc/common/notifications/all.qh

index 525fc98e9627afcadd126f881ee88f6b77f1cd6c..48bd44af5f59d36732995692134caf8c44a24781 100644 (file)
@@ -201,6 +201,7 @@ GENERIC_COMMAND(dumpnotifs, "Dump all notifications into notifications_dump.txt"
        }
 }
 
+float autocvar_notification_debug = false;
 #ifdef NOTIFICATIONS_DEBUG
 void Debug_Notification(string input)
 {
@@ -294,7 +295,6 @@ float autocvar_notification_show_sprees_info_specialonly = true;
 float autocvar_notification_errors_are_fatal = true;
 float autocvar_notification_lifetime_runtime = 0.5;
 float autocvar_notification_lifetime_mapload = 10;
-float autocvar_notification_debug = false;
 
 #ifdef SVQC
 .float FRAG_VERBOSE;