mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 22:01:30 +00:00
Fixed npc_types_tint not being loaded properly.
This commit is contained in:
parent
dd869695c4
commit
8594148496
@ -1892,7 +1892,7 @@ const NPCType* ZoneDatabase::GetNPCType (uint32 id) {
|
||||
if (!armortint_results.Success() || armortint_results.RowCount() == 0)
|
||||
armor_tint_id = 0;
|
||||
else {
|
||||
auto armorTint_row = results.begin();
|
||||
auto armorTint_row = armortint_results.begin();
|
||||
|
||||
for (int index = EmuConstants::MATERIAL_BEGIN; index <= EmuConstants::MATERIAL_END; index++) {
|
||||
tmpNPCType->armor_tint[index] = atoi(armorTint_row[index * 3]) << 16;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user