Added a name block memset to the server character select code and a few comments to the OP_CharInfo encodes

This commit is contained in:
Uleat
2015-05-23 18:59:03 -04:00
parent 70048eb6e1
commit 8922c72452
6 changed files with 16 additions and 15 deletions
+1
View File
@@ -105,6 +105,7 @@ void WorldDatabase::GetCharSelectInfo(uint32 accountID, EQApplicationPacket **ou
memset(&pp, 0, sizeof(PlayerProfile_Struct));
/* Fill CharacterSelectEntry_Struct */
memset(cse->Name, 0, sizeof(cse->Name));
strcpy(cse->Name, row[1]);
cse->Class = (uint8)atoi(row[4]);
cse->Race = (uint32)atoi(row[3]);