Core/Logs: Fixed a crash

This commit is contained in:
Lopin
2011-08-25 10:12:32 +02:00
parent c0f3122b9c
commit 8ce77c7d83
+1 -1
View File
@@ -918,7 +918,7 @@ bool Player::Create(uint32 guidlow, CharacterCreateInfo* createInfo)
PlayerInfo const* info = sObjectMgr->GetPlayerInfo(createInfo->Race, createInfo->Class); PlayerInfo const* info = sObjectMgr->GetPlayerInfo(createInfo->Race, createInfo->Class);
if (!info) if (!info)
{ {
sLog->outError("Player (Name %s) have incorrect race/class pair (Race %u, Class %u). Can't be loaded.", m_name.c_str(), createInfo->Race, createInfo->Class); sLog->outError("Player (Name %s) have incorrect race/class pair. Can't be loaded.", m_name.c_str());
return false; return false;
} }