- moved loadshared() to the right point
[supertux.git] / src / mousecursor.cpp
index 9814fa8..f7a5993 100644 (file)
@@ -64,7 +64,7 @@ void MouseCursor::draw()
         cur_state = state_before_click;
     }
 
-  if(timer_get_left(&timer) < 0 && tot_frames > 1)
+  if(timer.get_left() < 0 && tot_frames > 1)
     {
       cur_frame++;
       if(cur_frame++ >= tot_frames)