mirror of
https://github.com/EQEmu/Server.git
synced 2026-03-29 04:12:24 +00:00
Fix for non-compliant assignment of non-integral type array
This commit is contained in:
parent
7afb29cf02
commit
e61f647bf2
@ -115,7 +115,16 @@ void WorldDatabase::GetCharSelectInfo(uint32 accountID, EQApplicationPacket **ou
|
|||||||
cse->Instance = 0;
|
cse->Instance = 0;
|
||||||
cse->Gender = (uint8)atoi(row[2]);
|
cse->Gender = (uint8)atoi(row[2]);
|
||||||
cse->Face = (uint8)atoi(row[15]);
|
cse->Face = (uint8)atoi(row[15]);
|
||||||
cse->Equip[0] = { 0 }; // Processed below
|
|
||||||
|
for (uint32 matslot = 0; matslot < _MaterialCount; matslot++) { // Processed below
|
||||||
|
cse->Equip[matslot].Material = 0;
|
||||||
|
cse->Equip[matslot].Unknown1 = 0;
|
||||||
|
cse->Equip[matslot].EliteMaterial = 0;
|
||||||
|
cse->Equip[matslot].HeroForgeModel = 0;
|
||||||
|
cse->Equip[matslot].Material2 = 0;
|
||||||
|
cse->Equip[matslot].Color.Color = 0;
|
||||||
|
}
|
||||||
|
|
||||||
cse->Unknown15 = 0xFF;
|
cse->Unknown15 = 0xFF;
|
||||||
cse->Unknown19 = 0xFF;
|
cse->Unknown19 = 0xFF;
|
||||||
cse->DrakkinTattoo = (uint32)atoi(row[17]);
|
cse->DrakkinTattoo = (uint32)atoi(row[17]);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user