From 7c1781cb69d585537684560883611fc4728d6491 Mon Sep 17 00:00:00 2001 From: lahm86 <33758420+lahm86@users.noreply.github.com> Date: Sun, 20 Oct 2024 10:21:34 +0100 Subject: [PATCH] tr1/lara/cheat: adjust initial fly position This sets Lara one click from the floor when entering the fly cheat to avoid the swim collision adjusting her X rotation from the desired 30 degrees. --- src/tr1/game/lara/cheat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tr1/game/lara/cheat.c b/src/tr1/game/lara/cheat.c index 6e157bd28..419dbbd02 100644 --- a/src/tr1/game/lara/cheat.c +++ b/src/tr1/game/lara/cheat.c @@ -142,7 +142,7 @@ bool Lara_Cheat_EnterFlyMode(void) } if (g_Lara.water_status != LWS_UNDERWATER || g_LaraItem->hit_points <= 0) { - g_LaraItem->pos.y -= 0x80; + g_LaraItem->pos.y -= STEP_L; g_LaraItem->current_anim_state = LS_SWIM; g_LaraItem->goal_anim_state = LS_SWIM; Item_SwitchToAnim(g_LaraItem, LA_SWIM_GLIDE, 0);