SQL: Characters db storage type cleanup No. 4
This commit is contained in:
@@ -1256,7 +1256,7 @@ void WorldSession::HandleCharCustomize(WorldPacket& recv_data)
|
||||
}
|
||||
|
||||
Field *fields = result->Fetch();
|
||||
uint32 at_loginFlags = fields[0].GetUInt32();
|
||||
uint32 at_loginFlags = fields[0].GetUInt16();
|
||||
|
||||
if (!(at_loginFlags & AT_LOGIN_CUSTOMIZE))
|
||||
{
|
||||
@@ -1455,7 +1455,7 @@ void WorldSession::HandleCharFactionOrRaceChange(WorldPacket& recv_data)
|
||||
Field *fields = result->Fetch();
|
||||
uint32 playerClass = fields[0].GetUInt32();
|
||||
uint32 level = fields[1].GetUInt32();
|
||||
uint32 at_loginFlags = fields[2].GetUInt32();
|
||||
uint32 at_loginFlags = fields[2].GetUInt16();
|
||||
uint32 used_loginFlag = ((recv_data.GetOpcode() == CMSG_CHAR_RACE_CHANGE) ? AT_LOGIN_CHANGE_RACE : AT_LOGIN_CHANGE_FACTION);
|
||||
|
||||
if (!sObjectMgr->GetPlayerInfo(race, playerClass))
|
||||
|
||||
Reference in New Issue
Block a user