diff -r e4ab469a0003 -r 5b70179559f9 core/DebugReporter.cpp --- a/core/DebugReporter.cpp Fri Jul 11 08:31:57 2008 +0000 +++ b/core/DebugReporter.cpp Fri Jul 11 09:24:12 2008 +0000 @@ -68,7 +68,7 @@ { func_idx >>= 1; sp_public_t *function; - if (ctx->GetPublicByIndex(func_idx, &function) == SP_ERROR_NONE) + if (ctx->GetRuntime()->GetPublicByIndex(func_idx, &function) == SP_ERROR_NONE) { g_Logger.LogError("[SM] Unable to call function \"%s\" due to above error(s).", function->name); } @@ -98,7 +98,7 @@ g_Logger.LogError("[SM] %s", buffer); IPluginDebugInfo *pDebug; - if ((pDebug = pContext->GetDebugInfo()) == NULL) + if ((pDebug = pContext->GetRuntime()->GetDebugInfo()) == NULL) { g_Logger.LogError("[SM] Debug mode is not enabled for \"%s\"", plname); g_Logger.LogError("[SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug %d on",