]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/world.qc
micro-optimization chore: in for-loops change all post-{in,de}crements to pre-{in...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / world.qc
index 926349a575665fb8d9c85499557d6be318487a61..90ddd1a9902f4d5a95b65ef640d04ae98244a622 100644 (file)
@@ -2433,7 +2433,7 @@ void RunThink(entity this, float dt)
 
        float oldtime = time; // do we need to save this?
 
-       for (int iterations = 0; iterations < 128 && !wasfreed(this); iterations++)
+       for (int iterations = 0; iterations < 128 && !wasfreed(this); ++iterations)
        {
                time = max(oldtime, this.nextthink);
                this.nextthink = 0;