True transformation: make it compile.

develop
expwnent 2013-01-05 12:58:06 -05:00
parent 7a33e5bdbe
commit e1ad933068
1 changed files with 2 additions and 2 deletions

@ -25,9 +25,9 @@ void syndromeHandler(color_ostream& out, void* ptr);
DFhackCExport command_result plugin_init ( color_ostream &out, std::vector <PluginCommand> &commands) DFhackCExport command_result plugin_init ( color_ostream &out, std::vector <PluginCommand> &commands)
{ {
EventManager::EventHandler syndrome(syndromeHandler); EventManager::EventHandler syndrome(syndromeHandler, 1);
Plugin* me = Core::getInstance().getPluginManager()->getPluginByName("trueTransformation"); Plugin* me = Core::getInstance().getPluginManager()->getPluginByName("trueTransformation");
EventManager::registerListener(EventManager::EventType::SYNDROME, syndrome, 1, me); EventManager::registerListener(EventManager::EventType::SYNDROME, syndrome, me);
return CR_OK; return CR_OK;
} }