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

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
This commit is contained in:
Giuseppe Bilotta
2012-01-23 20:23:56 +01:00
committed by Perttu Ahola
parent 365f7a5bfe
commit 64af6d3afe
4 changed files with 4 additions and 3 deletions

View File

@@ -42,7 +42,7 @@ Some planning
*/
class ServerEnvironment;
class ItemStack;
struct ItemStack;
class Player;
struct ToolDiggingProperties;