]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/physics/movetypes/toss.qc
micro-optimization chore: in for-loops change all post-{in,de}crements to pre-{in...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / physics / movetypes / toss.qc
index 5c254811d181c2cac9f5a5496490ae442241d403..caf1fda477b8521b155194e507a3c6f56e5c1f4d 100644 (file)
@@ -48,7 +48,7 @@ void _Movetype_Physics_Toss(entity this, float dt)  // SV_Physics_Toss
        this.angles = this.angles + this.avelocity * dt;
 
        float movetime = dt;
-       for (int bump = 0; bump < MAX_CLIP_PLANES && movetime > 0; bump++)
+       for (int bump = 0; bump < MAX_CLIP_PLANES && movetime > 0; ++bump)
        {
                if(this.velocity == '0 0 0')
                        break;