From e42bf9265478b308f371d85400b99f60aa3f3784 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Sun, 4 Apr 2010 15:12:06 +0200 Subject: [PATCH] Disable SHM stuff in Maps --- dfhack/modules/Maps.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dfhack/modules/Maps.cpp b/dfhack/modules/Maps.cpp index 75008851e..d24999ff8 100644 --- a/dfhack/modules/Maps.cpp +++ b/dfhack/modules/Maps.cpp @@ -57,6 +57,7 @@ bool API::InitMap() /* * --> SHM initialization (if possible) <-- */ + /* g_pProcess->getModuleIndex("Maps2010",1,d->maps_module); if(d->maps_module) @@ -77,7 +78,7 @@ bool API::InitMap() g_pProcess->SetAndWait(cmd); //cerr << "Map acceleration enabled!" << endl; } - + */ // get the map pointer uint32_t x_array_loc = g_pProcess->readDWord (map_offset); if (!x_array_loc)