]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
reformat target_speed code comments
authorJuhu <5894800-Juhu_@users.noreply.gitlab.com>
Wed, 8 Feb 2023 17:03:59 +0000 (18:03 +0100)
committerJuhu <5894800-Juhu_@users.noreply.gitlab.com>
Wed, 8 Feb 2023 17:03:59 +0000 (18:03 +0100)
qcsrc/common/mapobjects/target/speed.qc

index 02b495274cf622939cfd79683e6adbec1389be99..43d9ed164c96129510b6757c09cc4570d9636d61 100644 (file)
@@ -69,15 +69,18 @@ vector target_speed_calculatevelocity(entity this, float speed, entity pushed_en
                {
                        if(is_launcher)
                        {
-                               // every direction weighs the same amount on launchers, movedir does not matter
+                               // every direction weighs the same amount on launchers
+                               // movedir does not matter
                                pushvel[i] = 1;
 
-                               // this does not belong inside the loop, only simulate this bug when playing a Q3 map
+                               // this does not belong inside the loop
+                               // only simulate this bug when playing a Q3 map
                                if(STAT(Q3COMPAT, pushed_entity))
                                {
                                        launcherspeed += speed;
 
-                                       // add the add speed in the same variable as it goes in the same direction
+                                       // add the add speed in the same variable
+                                       // as it goes in the same direction
                                        if(is_add) launcherspeed += oldspeed;
                                }
                        }