diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2012-01-23 20:23:56 +0100 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2012-02-02 15:54:20 +0200 |
commit | 64af6d3afe6ff677aa25e2cbb7395a911f8621af (patch) | |
tree | ab73593d00325ca2866ef240331749ed20645f3a /src/scriptapi.h | |
parent | 365f7a5bfe0cf1838b0c6f3936c4437f3dd9f1f7 (diff) | |
download | hax-minetest-server-64af6d3afe6ff677aa25e2cbb7395a911f8621af.tar.gz hax-minetest-server-64af6d3afe6ff677aa25e2cbb7395a911f8621af.zip |
Fix some warnings on some compilers
ItemStack is a struct, not a class
CollisionInfo is a struct, not a class
InventoryAction is abstract and it needs a virtual destructor
Diffstat (limited to 'src/scriptapi.h')
-rw-r--r-- | src/scriptapi.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scriptapi.h b/src/scriptapi.h index 500a9ab99..df8ae344e 100644 --- a/src/scriptapi.h +++ b/src/scriptapi.h @@ -30,7 +30,7 @@ class ServerActiveObject; class ServerRemotePlayer; typedef struct lua_State lua_State; struct LuaEntityProperties; -class ItemStack; +struct ItemStack; struct PointedThing; //class IGameDef; |