Merge branch 'master' into Mario/turrets
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / t_teleporters.qc
index 46df0eb..53704a0 100644 (file)
@@ -13,7 +13,6 @@
     #include "constants.qh"
     #include "defs.qh"
     #include "../common/deathtypes.qh"
-    #include "tturrets/include/turrets_early.qh"
     #include "vehicles/vehicles_def.qh"
     #include "../common/mapinfo.qh"
     #include "anticheat.qh"
@@ -195,7 +194,7 @@ void Teleport_Touch (void)
        if(!other.vehicle.teleportable)
                return;
 
-       if(other.turrcaps_flags & TFL_TURRCAPS_ISTURRET)
+       if(other.turret_flags & TUR_FLAG_ISTURRET)
                return;
 
        if(other.deadflag != DEAD_NO)