diff options
author | red-001 <red-001@outlook.ie> | 2017-05-20 15:45:49 +0100 |
---|---|---|
committer | Loïc Blot <nerzhul@users.noreply.github.com> | 2017-05-20 16:45:49 +0200 |
commit | 772944daf69ab463568fbbf35a9011e4c8e6c44a (patch) | |
tree | 9cac5a5ed6523a07f11980b497642fd78b26453c /src/script/common/c_content.h | |
parent | 7e185068c4f9fb3253006a8d8a2aceea3f8000a1 (diff) | |
download | hax-minetest-server-772944daf69ab463568fbbf35a9011e4c8e6c44a.tar.gz hax-minetest-server-772944daf69ab463568fbbf35a9011e4c8e6c44a.zip |
Fix CSM crash (#5779)
Caused by dc5bc6c and them made worse by 5ebf8f9
Diffstat (limited to 'src/script/common/c_content.h')
-rw-r--r-- | src/script/common/c_content.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/common/c_content.h b/src/script/common/c_content.h index 219c5eb7c..28d8b1e8c 100644 --- a/src/script/common/c_content.h +++ b/src/script/common/c_content.h @@ -164,7 +164,7 @@ bool push_json_value (lua_State *L, void read_json_value (lua_State *L, Json::Value &root, int index, u8 recursion = 0); -void push_pointed_thing (lua_State *L, const PointedThing &pointed); +void push_pointed_thing (lua_State *L, const PointedThing &pointed, bool csm = false); void push_objectRef (lua_State *L, const u16 id); |