Core/Pets: solved more pet issues
This commit is contained in:
1 parent
09bf919f1c
commit
fea931eaf0
3 files changed
+14
-6
No files matched your search
@@ -997,8 +997,6 @@ void WorldSession::HandlePlayerLogin(LoginQueryHolder* holder)
|
||||
Pet::resetTalentsForAllPetsOf(pCurrChar);
|
||||
|
||||
pCurrChar->LoadPetsFromDB(holder->GetPreparedResult(PLAYER_LOGIN_QUERY_LOAD_ALL_PETS));
|
||||
if (pCurrChar->getClass() == CLASS_HUNTER)
|
||||
pCurrChar->GetSession()->SendStablePet(ObjectGuid::Empty);
|
||||
|
||||
// Load pet if any (if player not alive and in taxi flight or another then pet will remember as temporary unsummoned)
|
||||
pCurrChar->LoadPet();
|
||||
@@ -1112,6 +1110,9 @@ void WorldSession::HandlePlayerLogin(LoginQueryHolder* holder)
|
||||
}
|
||||
}
|
||||
|
||||
if (pCurrChar->getClass() == CLASS_HUNTER)
|
||||
pCurrChar->GetSession()->SendStablePet(ObjectGuid::Empty);
|
||||
|
||||
// show time before shutdown if shutdown planned.
|
||||
if (sWorld->IsShuttingDown())
|
||||
sWorld->ShutdownMsg(true, pCurrChar);
|
||||
|
||||
Reference in new issue
Block a user