Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

Commit

Permalink
lara_cheat: free hands after teleporting (#216)
Browse files Browse the repository at this point in the history
Resolves #214.
  • Loading branch information
lahm86 authored Sep 8, 2024
1 parent c4fda07 commit 2ae0b72
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/game/lara/lara_cheat.c
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,10 @@ bool Lara_Cheat_Teleport(int32_t x, int32_t y, int32_t z)
Item_NewRoom(item_num, room_num);
}

if (g_Lara.gun_status == LGS_HANDS_BUSY) {
g_Lara.gun_status = LGS_ARMLESS;
}

Lara_GetOffVehicle();

const ROOM_INFO *const room = &g_Rooms[g_LaraItem->room_num];
Expand Down

0 comments on commit 2ae0b72

Please # to comment.