[6930] Added more error output on ArenaTeam load errors.

This commit is contained in:
Wyk3d 2008-12-23 00:53:17 +02:00
parent 03c71517ec
commit f4ce2f6e9d
2 changed files with 4 additions and 3 deletions

View file

@ -13748,8 +13748,9 @@ void Player::_LoadArenaTeamInfo(QueryResult *result)
uint32 personal_rating = fields[3].GetUInt32(); uint32 personal_rating = fields[3].GetUInt32();
ArenaTeam* aTeam = objmgr.GetArenaTeamById(arenateamid); ArenaTeam* aTeam = objmgr.GetArenaTeamById(arenateamid);
if(!aTeam) { if(!aTeam)
sLog.outError("FATAL: couldn't load arenateam %u", arenateamid); {
sLog.outError("Player::_LoadArenaTeamInfo: couldn't load arenateam %u, week %u, season %u, rating %u", arenateamid, played_week, played_season, personal_rating);
continue; continue;
} }
uint8 arenaSlot = aTeam->GetSlot(); uint8 arenaSlot = aTeam->GetSlot();

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__ #ifndef __REVISION_NR_H__
#define __REVISION_NR_H__ #define __REVISION_NR_H__
#define REVISION_NR "6929" #define REVISION_NR "6930"
#endif // __REVISION_NR_H__ #endif // __REVISION_NR_H__