]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/weapons/all.qh
Some viewmodel_draw() optimisations
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / weapons / all.qh
index 286b7a3d3dbfdde33e21975131c2214a691082c6..2931207135cbcfdf1bacddb435f38eae4cc9a39a 100644 (file)
@@ -356,7 +356,9 @@ vector weaponentity_glowmod(Weapon wep, entity actor, int c, entity wepent)
 //.int weapon; // current weapon
 .string weaponname; // name of .weapon
 
+#ifdef SVQC
 .vector spawnorigin; // for casings
+#endif
 
 .vector movedir_aligned; // shot origin based on weapon alignment (unaffected by shootfromeye)