From f3e313acf31fa0b8b4a2ad525f6131bd9902ad2e Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Wed, 21 Oct 2009 00:11:05 +0000 Subject: [PATCH] fixed bug in calling update_event() git-svn-id: svn://anubis/anaglym/trunk@119 99a6e188-d820-4881-8870-2d33a10e2619 --- Engine.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Engine.cc b/Engine.cc index aeb0d86..3c65773 100644 --- a/Engine.cc +++ b/Engine.cc @@ -442,7 +442,7 @@ void Engine::update_event() if (m_event_update_present) { lua_getfield(m_luaState, LUA_GLOBALSINDEX, - EVENT_HANDLER_AG_NAME(update_event)); + EVENT_HANDLER_AG_NAME(update)); /* call the update function - pops the function ref from the stack */ int s = lua_pcall(m_luaState, 0, LUA_MULTRET, 0); reportErrors(s);