Add Item SubType to data structures and DB

This commit is contained in:
Michael Cook (mackal)
2020-05-09 22:37:35 -04:00
parent 90e6bb8a8a
commit 0e6a0b5a70
10 changed files with 11 additions and 3 deletions
+1
View File
@@ -1029,6 +1029,7 @@ void SharedDatabase::LoadItems(void *data, uint32 size, int32 items, uint32 max_
item.MaxCharges = (int16)atoi(row[ItemField::maxcharges]);
item.ItemType = (uint8)atoi(row[ItemField::itemtype]);
item.SubType = atoi(row[ItemField::subtype]);
item.Material = (uint8)atoi(row[ItemField::material]);
item.HerosForgeModel = (uint32)atoi(row[ItemField::herosforgemodel]);
item.SellRate = (float)atof(row[ItemField::sellrate]);