From de3d103543af8b9d268e8e05436287d58cd3e5c4 Mon Sep 17 00:00:00 2001 From: Juhu <5894800-Juhu_@users.noreply.gitlab.com> Date: Wed, 8 Feb 2023 18:03:59 +0100 Subject: [PATCH] reformat target_speed code comments --- qcsrc/common/mapobjects/target/speed.qc | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) 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; } } -- 2.39.2