diff options
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()); } |