From 64af6d3afe6ff677aa25e2cbb7395a911f8621af Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Mon, 23 Jan 2012 20:23:56 +0100 Subject: 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 --- src/scriptapi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/scriptapi.h') 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; -- cgit v1.2.3