From 524d4f6025466a720047f7783cee2edae70f72f3 Mon Sep 17 00:00:00 2001 From: doomchild Date: Mon, 12 Apr 2010 14:47:42 -0500 Subject: [PATCH] turned off imports (I think they're hanging references, and I don't actually need them right now) --- dfhack/python/pydfhack.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dfhack/python/pydfhack.cpp b/dfhack/python/pydfhack.cpp index feb2da2cc..11320b346 100644 --- a/dfhack/python/pydfhack.cpp +++ b/dfhack/python/pydfhack.cpp @@ -23,7 +23,7 @@ distribution. */ #include "Python.h" -#include "DF_Imports.cpp" +//#include "DF_Imports.cpp" #include "DF_MemInfo.cpp" #include "DF_Material.cpp" #include "DF_CreatureType.cpp" @@ -93,8 +93,8 @@ PyMODINIT_FUNC initpydfhack(void) PyModule_AddObject(module, "MemInfo", (PyObject*)&DF_MemInfo_type); PyModule_AddObject(module, "Position", (PyObject*)&DF_Position_type); PyModule_AddObject(module, "Materials", (PyObject*)&DF_Material_type); - PyModule_AddObject(module, "Creature_Base", (PyObject*)&DF_Position_type); - PyModule_AddObject(module, "CreatureManager", (PyObject*)&DF_Material_type); + PyModule_AddObject(module, "Creature_Base", (PyObject*)&DF_Creature_Base_type); + PyModule_AddObject(module, "CreatureManager", (PyObject*)&DF_CreatureManager_type); - DoImports(); + //DoImports(); } \ No newline at end of file