diff options
Diffstat (limited to 'src/Bindings/LuaState.cpp')
-rw-r--r-- | src/Bindings/LuaState.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/Bindings/LuaState.cpp b/src/Bindings/LuaState.cpp index c1e71bd5c..ad1021001 100644 --- a/src/Bindings/LuaState.cpp +++ b/src/Bindings/LuaState.cpp @@ -949,6 +949,16 @@ void cLuaState::Push(bool a_Value) +void cLuaState::Push(const cEntity * a_Entity) +{ + // Once we can make Lua understand constness, this function shall receive a corresponding function body + Push(const_cast<cEntity * >(a_Entity)); +} + + + + + void cLuaState::Push(cEntity * a_Entity) { ASSERT(IsValid()); |