mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 22:58:34 +00:00
[NPC Armor - Bug] NPC upgardes in armor not correct
This commit is contained in:
@@ -395,6 +395,10 @@ void NPC::AddLootDrop(
|
||||
foundslot = i;
|
||||
}
|
||||
else {
|
||||
// Unequip old item
|
||||
ServerLootItem_Struct *olditem=GetItem(i);
|
||||
olditem->equip_slot = EQ::invslot::SLOT_INVALID;
|
||||
|
||||
equipment[i] = item2->ID;
|
||||
foundslot = i;
|
||||
found = true;
|
||||
|
||||
Reference in New Issue
Block a user