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:
Kelsi 2026-02-09 01:50:42 -08:00
parent 396ffd447c
commit ed2c844cb0

View file

@ -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;
}