From: Juhu <5894800-Juhu_@users.noreply.gitlab.com> Date: Wed, 8 Feb 2023 17:03:59 +0000 (+0100) Subject: reformat target_speed code comments X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=de3d103543af8b9d268e8e05436287d58cd3e5c4;p=xonotic%2Fxonotic-data.pk3dir.git reformat target_speed code comments --- diff --git a/qcsrc/common/mapobjects/target/speed.qc b/qcsrc/common/mapobjects/target/speed.qc index 02b495274..43d9ed164 100644 --- a/qcsrc/common/mapobjects/target/speed.qc +++ b/qcsrc/common/mapobjects/target/speed.qc @@ -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; } }