]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/client/teamradar.qc
Quickmenu: allow players to make server's custom quickmenu default
[xonotic/xonotic-data.pk3dir.git] / qcsrc / client / teamradar.qc
index 2e6ddba229d8ff46cc0228251df2ed8ad41a881c..12f78522020b2e1d94e20249a41ac9198d91ed13 100644 (file)
@@ -1,12 +1,9 @@
 #include "teamradar.qh"
 
-#include "autocvars.qh"
-#include "hud/_mod.qh"
-#include <client/main.qh>
-
+#include <client/hud/_mod.qh>
+#include <client/view.qh>
 #include <common/mutators/mutator/waypoints/all.qh>
-
-#include "../lib/csqcmodel/interpolate.qh"
+#include <lib/csqcmodel/interpolate.qh>
 
 vector teamradar_3dcoord_to_texcoord(vector in)
 {
@@ -205,7 +202,6 @@ NET_HANDLE(ENT_CLIENT_RADARLINK, bool isnew)
        InterpolateOrigin_Undo(this);
 
        this.iflags = IFLAG_VELOCITY | IFLAG_ORIGIN;
-       this.classname = "radarlink";
        if (isnew) IL_PUSH(g_radarlinks, this);
 
        if(sendflags & 1)