From 3e82413604c46b5860d4f4958ecbcd60db53aae5 Mon Sep 17 00:00:00 2001 From: Lynix Date: Mon, 21 May 2018 19:41:11 +0200 Subject: [PATCH] Oops --- src/Nazara/Lua/LuaState.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Nazara/Lua/LuaState.cpp b/src/Nazara/Lua/LuaState.cpp index 2e4dd78ea..dfbec1117 100644 --- a/src/Nazara/Lua/LuaState.cpp +++ b/src/Nazara/Lua/LuaState.cpp @@ -152,12 +152,12 @@ namespace Nz return Run(argCount, resultCount, 0); } - bool LuaState::CallWithHandler(int errorHandler, unsigned int argCount) + bool LuaState::CallWithHandler(unsigned int argCount, int errorHandler) { return Run(argCount, LUA_MULTRET, errorHandler); } - bool LuaState::CallWithHandler(int errorHandler, unsigned int argCount, unsigned int resultCount) + bool LuaState::CallWithHandler(unsigned int argCount, unsigned int resultCount, int errorHandler) { return Run(argCount, resultCount, errorHandler); }