Core/Instances: Implemented confirmation dialog for players upon entering instance which would permanently bind the player to it, players can now choose to get saved or leave the instance
Also fixes broken build
This commit is contained in:
1 parent
e7dbc783cf
commit
820f87f365
8 files changed
+66
-1
No files matched your search
@@ -402,6 +402,11 @@ void WorldSession::LogoutPlayer(bool Save)
|
||||
_player->BuildPlayerRepop();
|
||||
_player->RepopAtGraveyard();
|
||||
}
|
||||
else if (_player->HasPendingBind())
|
||||
{
|
||||
_player->RepopAtGraveyard();
|
||||
_player->SetPendingBind(NULL, 0);
|
||||
}
|
||||
|
||||
//drop a flag if player is carrying it
|
||||
if (Battleground *bg = _player->GetBattleground())
|
||||
|
||||
Reference in new issue
Block a user