]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Make all game models client models (may need to revert if issues arise)
authorMario <mario@smbclan.net>
Wed, 30 Dec 2015 20:24:43 +0000 (06:24 +1000)
committerMario <mario@smbclan.net>
Wed, 30 Dec 2015 20:24:43 +0000 (06:24 +1000)
qcsrc/server/g_models.qc

index 46ebe5ed89476348bc9411ba75c207153389d2b0..03064372b1319b2c5328a792930a1efce9389b17 100644 (file)
@@ -183,15 +183,15 @@ bool g_clientmodel_genericsendentity(entity this, entity to, int sf)
        self.default_solid = sol;
 
 // non-solid model entities:
-spawnfunc(misc_gamemodel)         { self.angles_x = -self.angles.x; G_MODEL_INIT      (SOLID_NOT) } // model entity
+spawnfunc(misc_gamemodel)         { self.angles_x = -self.angles.x; G_CLIENTMODEL_INIT      (SOLID_NOT) } // model entity
 spawnfunc(misc_clientmodel)       { self.angles_x = -self.angles.x; G_CLIENTMODEL_INIT(SOLID_NOT) } // model entity
-spawnfunc(misc_models)            { self.angles_x = -self.angles.x; G_MODEL_INIT      (SOLID_NOT) } // DEPRECATED old compat entity with confusing name, do not use
+spawnfunc(misc_models)            { self.angles_x = -self.angles.x; G_CLIENTMODEL_INIT      (SOLID_NOT) } // DEPRECATED old compat entity with confusing name, do not use
 
 // non-solid brush entities:
-spawnfunc(func_illusionary)       { G_MODEL_INIT      (SOLID_NOT) } // Q1 name (WARNING: MISPREDICTED)
+spawnfunc(func_illusionary)       { G_CLIENTMODEL_INIT      (SOLID_NOT) } // Q1 name (WARNING: MISPREDICTED)
 spawnfunc(func_clientillusionary) { G_CLIENTMODEL_INIT(SOLID_NOT) } // brush entity
-spawnfunc(func_static)            { G_MODEL_INIT      (SOLID_NOT) } // DEPRECATED old alias name from some other game
+spawnfunc(func_static)            { G_CLIENTMODEL_INIT      (SOLID_NOT) } // DEPRECATED old alias name from some other game
 
 // solid brush entities
-spawnfunc(func_wall)              { G_MODEL_INIT      (SOLID_BSP) } // Q1 name
+spawnfunc(func_wall)              { G_CLIENTMODEL_INIT      (SOLID_BSP) } // Q1 name
 spawnfunc(func_clientwall)        { G_CLIENTMODEL_INIT(SOLID_BSP) } // brush entity (WARNING: MISPREDICTED)