Reactivation of wear change updates in Bot::Spawn() until fix can be found.

This commit is contained in:
Uleat
2014-08-15 16:28:16 -04:00
parent e2874b2cc6
commit f7bb763aac
2 changed files with 8 additions and 5 deletions
+5 -5
View File
@@ -4330,18 +4330,18 @@ void Bot::Spawn(Client* botCharacterOwner, std::string* errorMessage) {
this->SendPosition();
/* // fillspawnstruct now properly handles this -U
// there is something askew with spawn struct appearance fields...
// I re-enabled this until I can sort it out -U
uint32 itemID = 0;
uint8 materialFromSlot = 0xFF;
for(int i=EmuConstants::EQUIPMENT_BEGIN; i<=EmuConstants::EQUIPMENT_END; ++i) {
for(int i = EmuConstants::EQUIPMENT_BEGIN; i <= EmuConstants::EQUIPMENT_END; ++i) {
itemID = GetBotItemBySlot(i);
if(itemID != 0) {
materialFromSlot = Inventory::CalcMaterialFromSlot(i);
if(materialFromSlot != 0xFF) {
if(materialFromSlot != 0xFF)
this->SendWearChange(materialFromSlot);
}
}
}*/
}
}
}