]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/csqcmodellib/interpolate.qc
Use SELFPARAM() in every function that uses self
[xonotic/xonotic-data.pk3dir.git] / qcsrc / csqcmodellib / interpolate.qc
index 5c8e1e31e62ce7d3af314b5116ce4f02eea24cbf..78fb051f793765d0c9f5d884dead2ef9a5bb8bb1 100644 (file)
 .vector ivup1, ivup2;
 .float itime1, itime2;
 void InterpolateOrigin_Reset()
-{
+{SELFPARAM();
        self.iflags &= ~IFLAG_INTERNALMASK;
        self.itime1 = self.itime2 = 0;
 }
 void InterpolateOrigin_Note()
-{
+{SELFPARAM();
        float dt;
        int f0;
 
@@ -138,7 +138,7 @@ void InterpolateOrigin_Note()
        }
 }
 void InterpolateOrigin_Do()
-{
+{SELFPARAM();
        vector forward, up;
        if(self.itime1 && self.itime2 && self.itime1 != self.itime2)
        {
@@ -165,7 +165,7 @@ void InterpolateOrigin_Do()
        }
 }
 void InterpolateOrigin_Undo()
-{
+{SELFPARAM();
        if(self.iflags & IFLAG_ORIGIN)
                setorigin(self, self.iorigin2);
        if(self.iflags & IFLAG_ANGLES)