mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-04-28 15:57:59 +03:00
Fix secret soundtrack not playing
This commit is contained in:
parent
1ad0839e34
commit
650873ea3e
2 changed files with 3 additions and 2 deletions
|
@ -21,7 +21,8 @@ Version 1.0.3
|
|||
* Fix underwater door and double doors continuing to be interactable after opening.
|
||||
* Fix ability to turn when aligning to an object while standing.
|
||||
* Fix left arm lock while picking up an item with a flare in hand.
|
||||
* Fix potential crashes when exiting game through title flyby.
|
||||
* Fix potential crashes when exiting game.
|
||||
* Fix secret soundtrack (which filename number should be the last) not playing.
|
||||
|
||||
|
||||
Version 1.0.2
|
||||
|
|
|
@ -887,7 +887,7 @@ void SayNo()
|
|||
|
||||
void PlaySecretTrack()
|
||||
{
|
||||
if (SoundTracks.size() <= SecretSoundIndex)
|
||||
if (SoundTracks.find(SecretSoundIndex) == SoundTracks.end())
|
||||
{
|
||||
TENLog("No secret soundtrack index was found!", LogLevel::Warning);
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue