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

Commit

Permalink
lara_cheat: adjust fly cheat gun reset
Browse files Browse the repository at this point in the history
This allows the gun undrawing animation to complete fully, avoiding
mesh issues if the cheat is exited very quickly.

Part of #237.
  • Loading branch information
lahm86 committed Sep 19, 2024
1 parent 36d946b commit d89bef9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/game/lara/lara_cheat.c
Original file line number Diff line number Diff line change
Expand Up @@ -187,10 +187,9 @@ bool __cdecl Lara_Cheat_ExitFlyMode(void)
g_Lara.gun_status = LGS_UNDRAW;
} else {
g_Lara.gun_status = LGS_ARMLESS;
Lara_Cheat_ReinitialiseGunMeshes();
}

Lara_Cheat_ReinitialiseGunMeshes();

Console_Log(GS(OSD_FLY_MODE_OFF));
return true;
}
Expand Down

0 comments on commit d89bef9

Please sign in to comment.