From 2d7a224e8e25425716724ac7a11343612364e871 Mon Sep 17 00:00:00 2001 From: James R Date: Sat, 19 Aug 2023 04:29:52 -0700 Subject: [PATCH] Instawhip hop: 1.5x height, slightly tweak timing --- src/k_kart.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/k_kart.c b/src/k_kart.c index a9d9deb70..08e80e2cf 100644 --- a/src/k_kart.c +++ b/src/k_kart.c @@ -7822,9 +7822,9 @@ void K_KartPlayerThink(player_t *player, ticcmd_t *cmd) // There is a constant total time to complete but the // acceleration and deceleration times can be made // asymmetrical. - const fixed_t hop = 16 * mapobjectscale; + const fixed_t hop = 24 * mapobjectscale; const INT32 duration = 12; - const INT32 mid = (duration / 2) - 2; + const INT32 mid = (duration / 2) - 1; const INT32 t = (duration - mid) - player->whip->fuse; player->cameraOffset = hop - (abs(t * hop) / (t < 0 ? mid : duration - mid));