supertuxkart / stk-code

The code base of supertuxkart
Other
4.47k stars 1.05k forks source link

Music sometimes restarts after GP victory in Story Mode #3547

Open Wuzzy2 opened 5 years ago

Wuzzy2 commented 5 years ago

Description

If you win a GP in Story Mode for the first time, and confirm the GP victory screen, and now reach the “treasure chest” victory screen, the music restarts.

In both screens, the music is the same, so there is no reason to restart the musc in this one particular instance. It's not a serious problem, just slightly irritating.

Steps to reproduce

  1. Story Mode
  2. Win a GP for the first time
  3. See the GP victory screen
  4. See the “treasure chest” victory screen

Expected: The music continues to play when you visit the “treasure chest” screen Actual: The music restarts when you visit the “treasure chest” screen


STK version: be92acf0abf56d1d0906b086533ec744bbad3fd2

Nomagno commented 8 months ago

I can confirm the songs played are different between each screen. This must've been changed at some point.

Alayan-stk-2 commented 8 months ago

It happens on a locally compiled version, with this error message:

[error  ] MusicOgg: Loading Music: ../data/../../stk-assets/music/win_theme.ogg failed (fopen returned NULL)
[error  ] MusicOgg: OpenAL error at alDeleteSources : AL_INVALID_NAME (40961)
[warn   ] MusicInformation: Unable to load music ../data/../../stk-assets/music/win_theme.ogg, not supported or not found.