]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/turrets/all.qc
Turrets: rename registry globals
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / turrets / all.qc
index c23a13861ecc9a182e11d16abb516b440cb1908e..d996778e65397e3621908c737891af1ee16de764 100644 (file)
@@ -1,14 +1,5 @@
 #include "all.qh"
 
-Turret get_turretinfo(int id)
-{
-    if (id < 1 || id > TUR_COUNT - 1)
-        return TUR_Null;
-    Turret m = turret_info[id];
-    if (m) return m;
-    return TUR_Null;
-}
-
 #ifdef SVQC
 #include "sv_turrets.qh"
 #endif