From: Mario Date: Sat, 11 Jul 2020 12:16:51 +0000 (+1000) Subject: Mark func_static as a solid model (it acts as a wall in other games) X-Git-Tag: xonotic-v0.8.5~883 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=24fae6d98e3980a50990273a4950cb027fc449ef;p=xonotic%2Fxonotic-data.pk3dir.git Mark func_static as a solid model (it acts as a wall in other games) --- diff --git a/qcsrc/common/mapobjects/models.qc b/qcsrc/common/mapobjects/models.qc index 18d033663..790978b99 100644 --- a/qcsrc/common/mapobjects/models.qc +++ b/qcsrc/common/mapobjects/models.qc @@ -195,11 +195,11 @@ spawnfunc(misc_models) { this.angles_x = -this.angles.x; G_MODEL_INIT // non-solid brush entities: spawnfunc(func_illusionary) { G_MODEL_INIT (this, SOLID_NOT) } // Q1 name (WARNING: MISPREDICTED) spawnfunc(func_clientillusionary) { G_CLIENTMODEL_INIT(this, SOLID_NOT) } // brush entity -spawnfunc(func_static) { G_MODEL_INIT (this, SOLID_NOT) } // DEPRECATED old alias name from some other game // solid brush entities spawnfunc(func_wall) { G_MODEL_INIT (this, SOLID_BSP) } // Q1 name spawnfunc(func_clientwall) { G_CLIENTMODEL_INIT(this, SOLID_BSP) } // brush entity (WARNING: MISPREDICTED) +spawnfunc(func_static) { G_MODEL_INIT (this, SOLID_BSP) } // DEPRECATED old alias name from some other game #elif defined(CSQC) .float alpha; .float scale;