]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix a comment that wasn't in the correct location
authorMircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Fri, 25 May 2012 20:38:19 +0000 (23:38 +0300)
committerMircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Fri, 25 May 2012 20:38:19 +0000 (23:38 +0300)
qcsrc/server/g_subs.qc

index d2baf6b598c25737ff91d3e49778af8267cc417d..d15d24dba3ad1c9e204b7be78428a43ffe3f0744 100644 (file)
@@ -198,13 +198,13 @@ void SUB_CalcMove_controller_think (void)
                        vector destangle;
                        destangle = delta + 2 * delta2 * phasepos;
                        destangle = vectoangles(destangle);
-                       destangle_x = -destangle_x;
+                       destangle_x = -destangle_x; // flip up / down orientation
 
                        // take the shortest distance for the angles
                        self.owner.angles_x -= 360 * floor((self.owner.angles_x - destangle_x) / 360 + 0.5);
                        self.owner.angles_y -= 360 * floor((self.owner.angles_y - destangle_y) / 360 + 0.5);
                        self.owner.angles_z -= 360 * floor((self.owner.angles_z - destangle_z) / 360 + 0.5);
-                       adelta = destangle - self.owner.angles; // flip up / down orientation
+                       adelta = destangle - self.owner.angles;
                }
                if(nexttick < self.animstate_endtime) {
                        veloc = nextpos - self.owner.origin;