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

This commit is contained in:
Uleat committed 2014-10-22 22:57:20 -04:00
1 parent a062c27e1a
commit c95b18da85
5 files changed
+49 -1

No files matched your search

+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)
{