mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-18 00:18:43 +01:00
Buildsystem/GCC: Fixed release linking errors
This commit is contained in:
@@ -560,7 +560,7 @@ inline void Battleground::_ProcessLeave(uint32 diff)
|
||||
}
|
||||
}
|
||||
|
||||
inline Player* Battleground::_GetPlayer(uint64 guid, bool offlineRemove, char const* context) const
|
||||
Player* Battleground::_GetPlayer(uint64 guid, bool offlineRemove, char const* context) const
|
||||
{
|
||||
Player* player = NULL;
|
||||
if (!offlineRemove)
|
||||
@@ -573,17 +573,7 @@ inline Player* Battleground::_GetPlayer(uint64 guid, bool offlineRemove, char co
|
||||
return player;
|
||||
}
|
||||
|
||||
inline Player* Battleground::_GetPlayer(BattlegroundPlayerMap::iterator itr, char const* context)
|
||||
{
|
||||
return _GetPlayer(itr->first, itr->second.OfflineRemoveTime, context);
|
||||
}
|
||||
|
||||
inline Player* Battleground::_GetPlayer(BattlegroundPlayerMap::const_iterator itr, char const* context) const
|
||||
{
|
||||
return _GetPlayer(itr->first, itr->second.OfflineRemoveTime, context);
|
||||
}
|
||||
|
||||
inline Player* Battleground::_GetPlayerForTeam(uint32 teamId, BattlegroundPlayerMap::const_iterator itr, char const* context) const
|
||||
Player* Battleground::_GetPlayerForTeam(uint32 teamId, BattlegroundPlayerMap::const_iterator itr, char const* context) const
|
||||
{
|
||||
Player* player = _GetPlayer(itr, context);
|
||||
if (player)
|
||||
|
||||
@@ -476,8 +476,8 @@ class Battleground
|
||||
void PlayerAddedToBGCheckIfBGIsRunning(Player* player);
|
||||
|
||||
Player* _GetPlayer(uint64 guid, bool offlineRemove, const char* context) const;
|
||||
Player* _GetPlayer(BattlegroundPlayerMap::iterator itr, const char* context);
|
||||
Player* _GetPlayer(BattlegroundPlayerMap::const_iterator itr, const char* context) const;
|
||||
Player* _GetPlayer(BattlegroundPlayerMap::iterator itr, const char* context) { return _GetPlayer(itr->first, itr->second.OfflineRemoveTime, context); }
|
||||
Player* _GetPlayer(BattlegroundPlayerMap::const_iterator itr, const char* context) const { return _GetPlayer(itr->first, itr->second.OfflineRemoveTime, context); }
|
||||
Player* _GetPlayerForTeam(uint32 teamId, BattlegroundPlayerMap::const_iterator itr, const char* context) const;
|
||||
|
||||
void _ProcessOfflineQueue();
|
||||
|
||||
Reference in New Issue
Block a user