]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/lib/csqcmodel/interpolate.qc
Fix use of self in .draw
[xonotic/xonotic-data.pk3dir.git] / qcsrc / lib / csqcmodel / interpolate.qc
index 311a289d6b6aa74d9f06ed4907f64498c1673248..4fd138360a3548bea865f8d7292f432e477865f0 100644 (file)
 .vector ivforward1, ivforward2;
 .vector ivup1, ivup2;
 .float itime1, itime2;
-void InterpolateOrigin_Reset()
+void InterpolateOrigin_Reset(entity this)
 {
-       SELFPARAM();
-       self.iflags &= ~IFLAG_INTERNALMASK;
-       self.itime1 = self.itime2 = 0;
+       this.iflags &= ~IFLAG_INTERNALMASK;
+       this.itime1 = this.itime2 = 0;
 }
 void InterpolateOrigin_Note(entity this)
 {