From d9ffc337247c08a2282a2d4c48ef31a70d22ae23 Mon Sep 17 00:00:00 2001 From: Ovahlord Date: Sun, 10 Mar 2024 02:39:59 +0100 Subject: Core/DataStores: duc-taped build --- src/server/game/Handlers/MiscHandler.cpp | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'src/server/game/Handlers/MiscHandler.cpp') diff --git a/src/server/game/Handlers/MiscHandler.cpp b/src/server/game/Handlers/MiscHandler.cpp index e7baa92f361..fcb0ed610ed 100644 --- a/src/server/game/Handlers/MiscHandler.cpp +++ b/src/server/game/Handlers/MiscHandler.cpp @@ -1167,18 +1167,8 @@ void WorldSession::HandleConversationLineStarted(WorldPackets::Misc::Conversatio void WorldSession::HandleRequestLatestSplashScreen(WorldPackets::Misc::RequestLatestSplashScreen& /*requestLatestSplashScreen*/) { - UISplashScreenEntry const* splashScreen = nullptr; - for (auto itr = sUISplashScreenStore.begin(); itr != sUISplashScreenStore.end(); ++itr) - { - if (PlayerConditionEntry const* playerCondition = sPlayerConditionStore.LookupEntry(itr->CharLevelConditionID)) - if (!ConditionMgr::IsPlayerMeetingCondition(_player, playerCondition)) - continue; - - splashScreen = *itr; - } - WorldPackets::Misc::SplashScreenShowLatest splashScreenShowLatest; - splashScreenShowLatest.UISplashScreenID = splashScreen ? splashScreen->ID : 0; + splashScreenShowLatest.UISplashScreenID = 0; SendPacket(splashScreenShowLatest.Write()); } -- cgit v1.2.3