diff options
author | worktycho <work.tycho@gmail.com> | 2015-10-04 15:55:42 +0200 |
---|---|---|
committer | worktycho <work.tycho@gmail.com> | 2015-10-04 15:55:42 +0200 |
commit | 0786fda18b08ee26a9bdcda7b17ef9979be4585a (patch) | |
tree | 06ae98c7848c29b812b50b91ab4b2cbb49cd6e13 /src/Bindings | |
parent | Merge pull request #2519 from cuberite/RemoveStyleCheckFromTravis (diff) | |
parent | Fixed a race condition between chunk loader and generator. (diff) | |
download | cuberite-0786fda18b08ee26a9bdcda7b17ef9979be4585a.tar cuberite-0786fda18b08ee26a9bdcda7b17ef9979be4585a.tar.gz cuberite-0786fda18b08ee26a9bdcda7b17ef9979be4585a.tar.bz2 cuberite-0786fda18b08ee26a9bdcda7b17ef9979be4585a.tar.lz cuberite-0786fda18b08ee26a9bdcda7b17ef9979be4585a.tar.xz cuberite-0786fda18b08ee26a9bdcda7b17ef9979be4585a.tar.zst cuberite-0786fda18b08ee26a9bdcda7b17ef9979be4585a.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Bindings/ManualBindings_World.cpp | 4 |
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: |