Unused code removed

Code related to the non-existent table, character_battleground_random
removed.
This commit is contained in:
Charles A Edwards 2016-08-30 13:05:50 +01:00 committed by Antz
parent d88e38e549
commit c78d8199df
4 changed files with 4 additions and 52 deletions

View file

@ -1953,13 +1953,6 @@ bool Player::TeleportTo(uint32 mapid, float x, float y, float z, float orientati
return true;
}
void Player::SetRandomWinner(bool isWinner)
{
m_IsBGRandomWinner = isWinner;
if (m_IsBGRandomWinner)
CharacterDatabase.PExecute("INSERT INTO character_battleground_random (guid) VALUES ('%u')", GetGUIDLow());
}
bool Player::TeleportToBGEntryPoint()
{
ScheduleDelayedOperation(DELAYED_BG_MOUNT_RESTORE);