mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-05-03 08:03:50 +00:00
Also initialize mount sound and NPC voice managers in loadTestTerrain
These managers were only being initialized in loadTerrainArea (online mode). Added initialization in loadTestTerrain as well so they work in both modes. Now the file probing should actually run and show which sound files exist.
This commit is contained in:
parent
396ffd447c
commit
ed2c844cb0
1 changed files with 6 additions and 0 deletions
|
|
@ -2111,6 +2111,12 @@ bool Renderer::loadTestTerrain(pipeline::AssetManager* assetManager, const std::
|
||||||
if (activitySoundManager) {
|
if (activitySoundManager) {
|
||||||
activitySoundManager->initialize(assetManager);
|
activitySoundManager->initialize(assetManager);
|
||||||
}
|
}
|
||||||
|
if (mountSoundManager) {
|
||||||
|
mountSoundManager->initialize(assetManager);
|
||||||
|
}
|
||||||
|
if (npcVoiceManager) {
|
||||||
|
npcVoiceManager->initialize(assetManager);
|
||||||
|
}
|
||||||
cachedAssetManager = assetManager;
|
cachedAssetManager = assetManager;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue