From 29d6169bf579992cd36f93e3f4e6cc88487c2b9f Mon Sep 17 00:00:00 2001 From: James R Date: Mon, 26 May 2025 23:00:17 -0700 Subject: [PATCH] Fix Aerial Highlands clouds taking away drift --- src/objects/cloud.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/objects/cloud.c b/src/objects/cloud.c index 045d360fc..b0e0c71f0 100644 --- a/src/objects/cloud.c +++ b/src/objects/cloud.c @@ -17,6 +17,7 @@ #include "../s_sound.h" #include "../r_main.h" #include "../m_random.h" +#include "../k_hitlag.h" #define BULB_ZTHRUST 96*FRACUNIT @@ -143,7 +144,6 @@ void Obj_PlayerCloudThink(player_t *player) if (player->cloud) { player->cloud--; - P_InstaThrust(mo, 0, 0); mo->momz = 0; player->fastfall = 0; @@ -157,6 +157,7 @@ void Obj_PlayerCloudThink(player_t *player) player->cloudlaunch = TICRATE; P_InstaThrust(mo, mo->cusval, mo->cvmem); + K_AddHitLag(mo, 6, false); } } }