mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-22 23:30:14 +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
b8375627e9
commit
708142a8a4
1 changed files with 6 additions and 0 deletions
|
|
@ -2111,6 +2111,12 @@ bool Renderer::loadTestTerrain(pipeline::AssetManager* assetManager, const std::
|
|||
if (activitySoundManager) {
|
||||
activitySoundManager->initialize(assetManager);
|
||||
}
|
||||
if (mountSoundManager) {
|
||||
mountSoundManager->initialize(assetManager);
|
||||
}
|
||||
if (npcVoiceManager) {
|
||||
npcVoiceManager->initialize(assetManager);
|
||||
}
|
||||
cachedAssetManager = assetManager;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue