mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-04-17 09:33:51 +00:00
Fix taxi state sync and transport authority; reduce runtime log overhead; restore first-person self-hide
This commit is contained in:
parent
40b50454ce
commit
5171f9cad4
29 changed files with 529 additions and 360 deletions
|
|
@ -58,9 +58,6 @@ void MusicManager::playMusic(const std::string& mpqPath, bool loop) {
|
|||
return;
|
||||
}
|
||||
|
||||
// Stop current playback
|
||||
AudioEngine::instance().stopMusic();
|
||||
|
||||
// Play with AudioEngine (non-blocking, streams from memory)
|
||||
float volume = volumePercent / 100.0f;
|
||||
if (AudioEngine::instance().playMusic(cacheIt->second, volume, loop)) {
|
||||
|
|
@ -103,9 +100,6 @@ void MusicManager::playFilePath(const std::string& filePath, bool loop) {
|
|||
return;
|
||||
}
|
||||
|
||||
// Stop current playback
|
||||
AudioEngine::instance().stopMusic();
|
||||
|
||||
// Play with AudioEngine
|
||||
float volume = volumePercent / 100.0f;
|
||||
if (AudioEngine::instance().playMusic(data, volume, loop)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue