]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix'd
authorSamual Lenks <samual@xonotic.org>
Tue, 5 Feb 2013 03:39:02 +0000 (22:39 -0500)
committerSamual Lenks <samual@xonotic.org>
Tue, 5 Feb 2013 03:39:02 +0000 (22:39 -0500)
qcsrc/common/notifications.qc
qcsrc/common/notifications.qh

index 857cada802ae13a4c8a172bfcb0b43af2c3eef24..dd899d00f1321237b0a9b362eb46aa7d65af1e75 100644 (file)
@@ -161,23 +161,6 @@ void HUD_Notify_Push(string icon, string attacker, string victim)
                killnotify_victims[kn_index] = strzone(victim);
        }
 }
-
-void backtrace(string msg) // TODO: MOVE TO UTIL.QC
-{
-    float dev, war;
-    dev = cvar("developer");
-    war = cvar("prvm_backtraceforwarnings");
-    cvar_set("developer", "1");
-    cvar_set("prvm_backtraceforwarnings", "1");
-    print("\n");
-    print("--- CUT HERE ---\nWARNING: ");
-    print(msg);
-    print("\n");
-    remove(world); // isn't there any better way to cause a backtrace?
-    print("\n--- CUT UNTIL HERE ---\n");
-    cvar_set("developer", ftos(dev));
-    cvar_set("prvm_backtraceforwarnings", ftos(war));
-}
 #endif // ifdef CSQC
 
 void Local_Notification(float net_type, float net_name, ...count)
index 01c94967baad29c7f59b9f6310d3e2f4787aaf0e..8230905b17d40d09e357a731abe61b2f50ccc395 100644 (file)
@@ -117,7 +117,6 @@ string killnotify_icon[KN_MAX_ENTRIES];
 string killnotify_attackers[KN_MAX_ENTRIES];
 string killnotify_victims[KN_MAX_ENTRIES];
 void HUD_Notify_Push(string icon, string attacker, string victim);
-void backtrace(string msg);
 void Read_Notification(float is_new);
 #endif // ifdef CSQC