From 24fae6d98e3980a50990273a4950cb027fc449ef Mon Sep 17 00:00:00 2001 From: Mario Date: Sat, 11 Jul 2020 22:16:51 +1000 Subject: [PATCH] Mark func_static as a solid model (it acts as a wall in other games) --- qcsrc/common/mapobjects/models.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.2