Falling sand and gravel
[oweals/minetest.git] / src / camera.h
index b6349d2c888f1dc9cb536f99d3cda47c8e17ecf2..8321a1f0dd7b16c70bee0a7107a98ccc025315a0 100644 (file)
@@ -31,6 +31,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 class LocalPlayer;
 class MapDrawControl;
 class ExtrudedSpriteSceneNode;
+class IGameDef;
 
 /*
        Client camera class, manages the player and camera scene nodes, the viewing distance
@@ -115,7 +116,7 @@ public:
        void updateSettings();
 
        // Replace the wielded item mesh
-       void wield(const InventoryItem* item);
+       void wield(const InventoryItem* item, IGameDef *gamedef);
 
        // Start digging animation
        // Pass 0 for left click, 1 for right click