]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/weapons/all.qc
Turn most cases of _STAT into STAT
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / weapons / all.qc
index 6aed090dbf793d7df997f00e320003ffd064d22a..5c51c2d87b4da7071b8dcde95671038f3618e630 100644 (file)
@@ -531,7 +531,7 @@ void CL_WeaponEntity_SetModel(entity this, string name, bool _anim)
        // make them match perfectly
 #ifdef SVQC
     // null during init
-    if (this.owner) this.owner.stat_shotorg = compressed_shotorg;
+    if (this.owner) STAT(SHOTORG, this.owner) = compressed_shotorg;
        this.movedir = decompressShotOrigin(compressed_shotorg);
 #else
        this.movedir = decompressShotOrigin(compressed_shotorg);