From: Mario Date: Wed, 15 Apr 2015 22:49:44 +0000 (+1000) Subject: Remove an old unused model X-Git-Tag: xonotic-v0.8.1~81 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=3ab669a4f5a80c9a41b713b45170f0d4469a1201;p=xonotic%2Fxonotic-data.pk3dir.git Remove an old unused model --- diff --git a/models/turrets/terrainbase.md3 b/models/turrets/terrainbase.md3 deleted file mode 100644 index ee67dc5dc..000000000 Binary files a/models/turrets/terrainbase.md3 and /dev/null differ diff --git a/qcsrc/client/tturrets.qc b/qcsrc/client/tturrets.qc index d2469851c..24506bef0 100644 --- a/qcsrc/client/tturrets.qc +++ b/qcsrc/client/tturrets.qc @@ -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/terrainbase.md3"); precache_model ("models/turrets/base.md3"); precache_model ("models/turrets/rocket.md3"); } diff --git a/qcsrc/server/tturrets/system/system_main.qc b/qcsrc/server/tturrets/system/system_main.qc index f2b0c56ce..70ae2ae09 100644 --- a/qcsrc/server/tturrets/system/system_main.qc +++ b/qcsrc/server/tturrets/system/system_main.qc @@ -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? - // 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);