diff --git a/src/core/application.cpp b/src/core/application.cpp index d90549a1..0599ba42 100644 --- a/src/core/application.cpp +++ b/src/core/application.cpp @@ -2895,12 +2895,10 @@ void Application::setupUICallbacks() { const uint32_t row = static_cast(idx); std::string dir = dbc->getString(row, 23); - std::string soundName = dbc->getString(row, 2); for (uint32_t f = 3; f <= 12; ++f) { std::string name = dbc->getString(row, f); if (name.empty()) continue; std::string path = dir.empty() ? name : dir + "\\" + name; - LOG_WARNING("PLAY_SOUND: id=", soundId, " name='", soundName, "' path=", path); audio::AudioEngine::instance().playSound2D(path); return; } @@ -2918,15 +2916,11 @@ void Application::setupUICallbacks() { const uint32_t row = static_cast(idx); std::string dir = dbc->getString(row, 23); - std::string soundName = dbc->getString(row, 2); for (uint32_t f = 3; f <= 12; ++f) { std::string name = dbc->getString(row, f); if (name.empty()) continue; std::string path = dir.empty() ? name : dir + "\\" + name; - LOG_WARNING("PLAY_OBJECT_SOUND: id=", soundId, " name='", soundName, "' path=", path, - " src=0x", std::hex, sourceGuid, std::dec); - // Play as 3D sound if source entity position is available auto entity = gameHandler->getEntityManager().getEntity(sourceGuid); if (entity) {