Fixed GCC error in ManualBindings
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1189 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
parent
7167105e22
commit
d6af6b353d
@ -637,7 +637,7 @@ static int tolua_cPluginManager_BindCommand(lua_State * L)
|
|||||||
int FnRef = luaL_ref(L, LUA_REGISTRYINDEX); // Store function reference
|
int FnRef = luaL_ref(L, LUA_REGISTRYINDEX); // Store function reference
|
||||||
if (FnRef == LUA_REFNIL)
|
if (FnRef == LUA_REFNIL)
|
||||||
{
|
{
|
||||||
LOGERROR("\"BindCommand\": Cannot create a function reference. Command \"%s\" not bound.", Command);
|
LOGERROR("\"BindCommand\": Cannot create a function reference. Command \"%s\" not bound.", Command.c_str());
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user