Skip to content

Commit

Permalink
tr1/lara: use explosion sprites with swan dive cheat
Browse files Browse the repository at this point in the history
  • Loading branch information
rr- committed Nov 13, 2024
1 parent 7a6c13a commit 1e6acce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/tr1/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
- improved enemy item drops by supporting the TR2+ approach of having drops defined in level data (#1713)
- improved Italian localization for the Config Tool
- improved the injection approach for Lara's responsive jumping (#1823)
- improved the exploding Lara input cheat to always use explosion sprites
- removed health cheat (we now have the `/hp` command)
- removed background for the "Reset" and "Unbind" labels in the controls dialog
- removed `force_game_modes` and `force_save_crystals` from the gameflow - see GAMEFLOW.md for details on how to enforce these settings (#1857)
Expand Down
2 changes: 1 addition & 1 deletion src/tr1/game/lara/cheat.c
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ void Lara_Cheat_Control(void)
g_Lara.uzis.ammo = 5000;
Sound_Effect(SFX_LARA_HOLSTER, NULL, SPM_ALWAYS);
} else if (as == LS_SWAN_DIVE) {
Effect_ExplodingDeath(g_Lara.item_num, -1, 0);
Effect_ExplodingDeath(g_Lara.item_num, -1, 1);
Sound_Effect(SFX_EXPLOSION_CHEAT, &g_LaraItem->pos, SPM_NORMAL);
g_LaraItem->hit_points = 0;
g_LaraItem->flags |= IF_INVISIBLE;
Expand Down

0 comments on commit 1e6acce

Please sign in to comment.