Skip to content

Commit

Permalink
tr1/gameflow: read leadbar name from gameflow
Browse files Browse the repository at this point in the history
This restores reading the leadbar name from the gameflow to allow it to
be customised.

Resolves #1774.
  • Loading branch information
lahm86 committed Oct 29, 2024
1 parent db9f33b commit f07ceae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/tr1/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
- fixed missing pushblock SFX in Natla's Mines (#1714)
- fixed crash reports not working in certain circumstances (#1738)
- fixed missing trapdoor triggers in City of Khamoon (#1744)
- fixed being unable to rename the lead bar (#1774, regression from 4.5)
- improved enemy item drops by supporting the TR2+ approach of having drops defined in level data (#1713)
- improved Italian localization for the Config Tool

Expand Down
2 changes: 2 additions & 0 deletions src/tr1/game/gameflow.c
Original file line number Diff line number Diff line change
Expand Up @@ -1482,6 +1482,8 @@ void GameFlow_LoadStrings(int32_t level_num)
{ O_PICKUP_OPTION_1, GS(INV_ITEM_PICKUP1) },
{ O_PICKUP_ITEM_2, GS(INV_ITEM_PICKUP2) },
{ O_PICKUP_OPTION_2, GS(INV_ITEM_PICKUP2) },
{ O_LEADBAR_ITEM, GS(INV_ITEM_LEADBAR) },
{ O_LEADBAR_OPTION, GS(INV_ITEM_LEADBAR) },
{ O_SCION_ITEM_1, GS(INV_ITEM_SCION) },
{ O_SCION_ITEM_2, GS(INV_ITEM_SCION) },
{ O_SCION_ITEM_3, GS(INV_ITEM_SCION) },
Expand Down

0 comments on commit f07ceae

Please sign in to comment.