Remove an old unused model
authorMario <zacjardine@y7mail.com>
Wed, 15 Apr 2015 22:49:44 +0000 (08:49 +1000)
committerMario <zacjardine@y7mail.com>
Wed, 15 Apr 2015 22:49:44 +0000 (08:49 +1000)
models/turrets/terrainbase.md3 [deleted file]
qcsrc/client/tturrets.qc
qcsrc/server/tturrets/system/system_main.qc

diff --git a/models/turrets/terrainbase.md3 b/models/turrets/terrainbase.md3
deleted file mode 100644 (file)
index ee67dc5..0000000
Binary files a/models/turrets/terrainbase.md3 and /dev/null differ
index d246985..24506be 100644 (file)
@@ -31,7 +31,6 @@ void turret_precache(int _tid)
         precache_model ("models/turrets/head-gib2.md3");
         precache_model ("models/turrets/head-gib3.md3");
         precache_model ("models/turrets/head-gib4.md3");
         precache_model ("models/turrets/head-gib2.md3");
         precache_model ("models/turrets/head-gib3.md3");
         precache_model ("models/turrets/head-gib4.md3");
-        precache_model ("models/turrets/terrainbase.md3");
         precache_model ("models/turrets/base.md3");
         precache_model ("models/turrets/rocket.md3");
     }
         precache_model ("models/turrets/base.md3");
         precache_model ("models/turrets/rocket.md3");
     }
index f2b0c56..70ae2ae 100644 (file)
@@ -1041,19 +1041,6 @@ float turret_stdproc_init (string cvar_base_name, string base, string head, floa
     if (!(self.spawnflags & TSF_SUSPENDED))
         builtin_droptofloor(); // why can't we use regular droptofloor here?
 
     if (!(self.spawnflags & TSF_SUSPENDED))
         builtin_droptofloor(); // why can't we use regular droptofloor here?
 
-    // Terrainbase spawnflag. This puts a enlongated model
-    // under the turret, so it looks ok on uneaven surfaces.
-    /*  TODO: Handle this with CSQC
-    if (self.spawnflags & TSF_TERRAINBASE)
-    {
-        entity tb;
-        tb = spawn();
-        setmodel(tb,"models/turrets/terrainbase.md3");
-        setorigin(tb,self.origin);
-        tb.solid = SOLID_BBOX;
-    }
-    */
-
     self.cvar_basename = cvar_base_name;
     load_unit_settings(self, self.cvar_basename, 0);
 
     self.cvar_basename = cvar_base_name;
     load_unit_settings(self, self.cvar_basename, 0);