Only draw Tux' arm in front of other objects if he's actually holding something ...
[supertux.git] / src / object / player.hpp
index 32d824b..f27decd 100644 (file)
@@ -69,7 +69,7 @@ public:
 
   void set_action(std::string action, int loops = -1);
   void one_time_animation();
-  void draw(DrawingContext& context, const Vector& pos, int layer);
+  void draw(DrawingContext& context, const Vector& pos, int layer, Portable* grabbed_object);
 
   Sprite* head;
   Sprite* body;