summaryrefslogtreecommitdiffstats
path: root/src/Bindings/ManualBindings_World.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2015-10-04 14:06:37 +0200
committerMattes D <github@xoft.cz>2015-10-04 14:06:37 +0200
commit9da404ea2db52dd4a5d9d0a5ca1736fd7e2e10bf (patch)
tree06ae98c7848c29b812b50b91ab4b2cbb49cd6e13 /src/Bindings/ManualBindings_World.cpp
parentMerge pull request #2519 from cuberite/RemoveStyleCheckFromTravis (diff)
downloadcuberite-9da404ea2db52dd4a5d9d0a5ca1736fd7e2e10bf.tar
cuberite-9da404ea2db52dd4a5d9d0a5ca1736fd7e2e10bf.tar.gz
cuberite-9da404ea2db52dd4a5d9d0a5ca1736fd7e2e10bf.tar.bz2
cuberite-9da404ea2db52dd4a5d9d0a5ca1736fd7e2e10bf.tar.lz
cuberite-9da404ea2db52dd4a5d9d0a5ca1736fd7e2e10bf.tar.xz
cuberite-9da404ea2db52dd4a5d9d0a5ca1736fd7e2e10bf.tar.zst
cuberite-9da404ea2db52dd4a5d9d0a5ca1736fd7e2e10bf.zip
Diffstat (limited to 'src/Bindings/ManualBindings_World.cpp')
-rw-r--r--src/Bindings/ManualBindings_World.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Bindings/ManualBindings_World.cpp b/src/Bindings/ManualBindings_World.cpp
index ba80d7130..c664329f9 100644
--- a/src/Bindings/ManualBindings_World.cpp
+++ b/src/Bindings/ManualBindings_World.cpp
@@ -348,11 +348,11 @@ static int tolua_cWorld_PrepareChunk(lua_State * tolua_S)
}
// cChunkCoordCallback override:
- virtual void Call(int a_CBChunkX, int a_CBChunkZ) override
+ virtual void Call(int a_CBChunkX, int a_CBChunkZ, bool a_IsSuccess) override
{
if (m_Callback.IsValid())
{
- m_LuaState.Call(m_Callback, a_CBChunkX, a_CBChunkZ);
+ m_LuaState.Call(m_Callback, a_CBChunkX, a_CBChunkZ, a_IsSuccess);
}
// This is the last reference of this object, we must delete it so that it doesn't leak: