diff options
author | Ovahlord <dreadkiller@gmx.de> | 2024-03-10 02:39:59 +0100 |
---|---|---|
committer | Ovahlord <dreadkiller@gmx.de> | 2024-03-10 02:39:59 +0100 |
commit | d9ffc337247c08a2282a2d4c48ef31a70d22ae23 (patch) | |
tree | 678c6b1a48e4f81b64783019d06b56f35fb3124b /src/server/game/Handlers/MiscHandler.cpp | |
parent | 7f7792485ddf354c25217551b53883b6e7b83f65 (diff) |
Core/DataStores: duc-taped build
Diffstat (limited to 'src/server/game/Handlers/MiscHandler.cpp')
-rw-r--r-- | src/server/game/Handlers/MiscHandler.cpp | 12 |
1 files changed, 1 insertions, 11 deletions
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()); } |