summaryrefslogtreecommitdiffstats
path: root/src/Bindings/ManualBindings_World.cpp
diff options
context:
space:
mode:
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 ee0998f87..17a66b4c2 100644
--- a/src/Bindings/ManualBindings_World.cpp
+++ b/src/Bindings/ManualBindings_World.cpp
@@ -727,9 +727,9 @@ static int tolua_cWorld_PrepareChunk(lua_State * tolua_S)
{
public:
// cChunkCoordCallback override:
- virtual void Call(int a_CBChunkX, int a_CBChunkZ, bool a_IsSuccess) override
+ virtual void Call(cChunkCoords a_Coords, bool a_IsSuccess) override
{
- m_LuaCallback.Call(a_CBChunkX, a_CBChunkZ, a_IsSuccess);
+ m_LuaCallback.Call(a_Coords.m_ChunkX, a_Coords.m_ChunkZ, a_IsSuccess);
}
cLuaState::cOptionalCallback m_LuaCallback;