mirror of
https://github.com/mangosfour/server.git
synced 2025-12-26 07:37:02 +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);
|
||||
|
|
|
|||
|
|
@ -1095,8 +1095,6 @@ class Player : public Unit
|
|||
|
||||
bool TeleportToBGEntryPoint();
|
||||
|
||||
void SetRandomWinner(bool isWinner);
|
||||
|
||||
void SetSummonPoint(uint32 mapid, float x, float y, float z)
|
||||
{
|
||||
m_summon_expire = time(NULL) + MAX_PLAYER_SUMMON_DELAY;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue