diff --git a/Memory.xml b/Memory.xml index 339cabcf0..84fff9b27 100644 --- a/Memory.xml +++ b/Memory.xml @@ -991,10 +991,12 @@ + @@ -1381,12 +1383,15 @@ + ... seriously, WHAT? + +
@@ -1861,7 +1866,9 @@ + @@ -2173,6 +2180,25 @@ + + +
+ + + + + + + cmake + item vector: + + -- those two seem to have identical length + 0x16c4540 -- maybe + 0x16c4550 -- maybe + + 0x16c4d20 -- too small/bogus? + 0x16c4660 -- too small again + 0x185c104 -- no. .-"""-. ' \ diff --git a/library/modules/Items.cpp b/library/modules/Items.cpp index d235fa3ba..fdf57105c 100644 --- a/library/modules/Items.cpp +++ b/library/modules/Items.cpp @@ -584,8 +584,8 @@ std::string Items::getItemDescription(const dfh_item & item, Materials * Materia /// dump offsets used by accessors of a valid item to a string std::string Items::dumpAccessors(const dfh_item & item) { - uint32_t vtable = item.base.vtable; - std::map< uint32_t, ItemDesc* >::const_iterator it = d->descVTable.find(vtable); - ItemDesc * desc = it->second; - return desc->dumpAccessors(); + std::map< uint32_t, ItemDesc* >::const_iterator it = d->descVTable.find(item.base.vtable); + if(it != d->descVTable.end()) + return it->second->dumpAccessors(); + return "crud"; } \ No newline at end of file