1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-12 16:15:20 +02:00

Pass ContentFeatures as reference to read_content_features (#10464)

This commit is contained in:
JosiahWI
2020-10-13 10:36:01 -05:00
committed by GitHub
parent d671102546
commit 11f3deb9c4
3 changed files with 5 additions and 6 deletions

View File

@@ -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);