mirror of
https://github.com/mangosfour/server.git
synced 2025-12-17 07:37:03 +00:00
Unused code removed
Code related to the non-existent table, character_battleground_random removed.
This commit is contained in:
parent
d88e38e549
commit
c78d8199df
4 changed files with 4 additions and 52 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue