diff options
Diffstat (limited to 'src/Bindings')
-rw-r--r-- | src/Bindings/AllToLua.pkg | 1 | ||||
-rw-r--r-- | src/Bindings/CMakeLists.txt | 1 | ||||
-rw-r--r-- | src/Bindings/LuaState.cpp | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/src/Bindings/AllToLua.pkg b/src/Bindings/AllToLua.pkg index a109913e2..b99ac2f88 100644 --- a/src/Bindings/AllToLua.pkg +++ b/src/Bindings/AllToLua.pkg @@ -86,6 +86,7 @@ $cfile "../Entities/Floater.h" $cfile "../Entities/GhastFireballEntity.h" $cfile "../Entities/HangingEntity.h" $cfile "../Entities/ItemFrame.h" +$cfile "../Entities/LeashKnot.h" $cfile "../Entities/Player.h" $cfile "../Entities/Painting.h" $cfile "../Entities/Pickup.h" diff --git a/src/Bindings/CMakeLists.txt b/src/Bindings/CMakeLists.txt index da7c8bbe8..6b2ad7ab0 100644 --- a/src/Bindings/CMakeLists.txt +++ b/src/Bindings/CMakeLists.txt @@ -109,6 +109,7 @@ set(BINDING_DEPENDENCIES ../Entities/GhastFireballEntity.h ../Entities/HangingEntity.h ../Entities/ItemFrame.h + ../Entities/LeashKnot.h ../Entities/Pawn.h ../Entities/Player.h ../Entities/Painting.h diff --git a/src/Bindings/LuaState.cpp b/src/Bindings/LuaState.cpp index 185759acc..b443325ec 100644 --- a/src/Bindings/LuaState.cpp +++ b/src/Bindings/LuaState.cpp @@ -993,6 +993,7 @@ void cLuaState::Push(cEntity * a_Entity) case cEntity::etExpOrb: case cEntity::etItemFrame: case cEntity::etPainting: + case cEntity::etLeashKnot: { // Push the generic entity class type: tolua_pushusertype(m_LuaState, a_Entity, "cEntity"); |