Fixed stacking issue in world tradeskill containers. (Added #peekinv world)

This commit is contained in:
Uleat
2014-10-22 22:57:20 -04:00
parent a062c27e1a
commit c95b18da85
5 changed files with 49 additions and 1 deletions
+8
View File
@@ -318,6 +318,14 @@ void Object::Delete(bool reset_state)
}
}
const ItemInst* Object::GetItem(uint8 index) {
if (index < EmuConstants::MAP_WORLD_SIZE) {
return m_inst->GetItem(index);
}
return nullptr;
}
// Add item to object (only logical for world tradeskill containers
void Object::PutItem(uint8 index, const ItemInst* inst)
{