From: terencehill Date: Sat, 7 May 2016 20:55:51 +0000 (+0200) Subject: Fix compilation when notifications debug is enabled X-Git-Tag: xonotic-v0.8.2~933^2~1 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=b5ab796e2092a3c5b7e28c7796e0946f730b8b51;p=xonotic%2Fxonotic-data.pk3dir.git Fix compilation when notifications debug is enabled --- diff --git a/qcsrc/common/notifications/all.qh b/qcsrc/common/notifications/all.qh index 525fc98e9..48bd44af5 100644 --- a/qcsrc/common/notifications/all.qh +++ b/qcsrc/common/notifications/all.qh @@ -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;