mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +00:00
[6930] Added more error output on ArenaTeam load errors.
This commit is contained in:
parent
03c71517ec
commit
f4ce2f6e9d
2 changed files with 4 additions and 3 deletions
|
|
@ -13748,8 +13748,9 @@ void Player::_LoadArenaTeamInfo(QueryResult *result)
|
|||
uint32 personal_rating = fields[3].GetUInt32();
|
||||
|
||||
ArenaTeam* aTeam = objmgr.GetArenaTeamById(arenateamid);
|
||||
if(!aTeam) {
|
||||
sLog.outError("FATAL: couldn't load arenateam %u", arenateamid);
|
||||
if(!aTeam)
|
||||
{
|
||||
sLog.outError("Player::_LoadArenaTeamInfo: couldn't load arenateam %u, week %u, season %u, rating %u", arenateamid, played_week, played_season, personal_rating);
|
||||
continue;
|
||||
}
|
||||
uint8 arenaSlot = aTeam->GetSlot();
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "6929"
|
||||
#define REVISION_NR "6930"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue