diff options
author | JosiahWI <41302989+JosiahWI@users.noreply.github.com> | 2020-10-13 10:36:01 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-13 16:36:01 +0100 |
commit | 11f3deb9c4512b918de8f5e778bc8b9535bd62c7 (patch) | |
tree | 61a02fa2cf202e2fc60aa18617d28f670f4c8898 /src/script/common/c_content.h | |
parent | d6711025461b00d8c244b28d77abd09ccd7cd4b4 (diff) | |
download | minetest-11f3deb9c4512b918de8f5e778bc8b9535bd62c7.tar.gz minetest-11f3deb9c4512b918de8f5e778bc8b9535bd62c7.tar.bz2 minetest-11f3deb9c4512b918de8f5e778bc8b9535bd62c7.zip |
Pass ContentFeatures as reference to read_content_features (#10464)
Diffstat (limited to 'src/script/common/c_content.h')
-rw-r--r-- | src/script/common/c_content.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/script/common/c_content.h b/src/script/common/c_content.h index 8f32e58eb..29d576355 100644 --- a/src/script/common/c_content.h +++ b/src/script/common/c_content.h @@ -67,7 +67,8 @@ struct collisionMoveResult; extern struct EnumString es_TileAnimationType[]; -ContentFeatures read_content_features (lua_State *L, int index); +void read_content_features (lua_State *L, ContentFeatures &f, + int index); void push_content_features (lua_State *L, const ContentFeatures &c); |