diff --git a/dfhack/DFContext.cpp b/dfhack/DFContext.cpp index 9406186df..9013c5659 100644 --- a/dfhack/DFContext.cpp +++ b/dfhack/DFContext.cpp @@ -66,7 +66,9 @@ Context::~Context() bool Context::isValid() { //FIXME: check for error states here - if(d->p->isIdentified()); + if(d->p->isIdentified()) + return true; + return false; } bool Context::Attach() diff --git a/output/Memory.xml b/output/Memory.xml index 96589944b..467145962 100755 --- a/output/Memory.xml +++ b/output/Memory.xml @@ -1824,14 +1824,13 @@ map_data_1b60_offset 0x1B9c WORLD + 0x54E80
24
0x4C -