This checking is useless. It is done before drawing on update().
authorRicardo Cruz <rick2@aeiou.pt>
Wed, 8 Sep 2004 13:59:09 +0000 (13:59 +0000)
committerRicardo Cruz <rick2@aeiou.pt>
Wed, 8 Sep 2004 13:59:09 +0000 (13:59 +0000)
SVN-Revision: 1875

lib/special/sprite.cpp

index 8e80604..6338c88 100644 (file)
@@ -131,9 +131,6 @@ if(i == actions.end())
   return;
   }
 action = i->second;
-
-if((int)frame >= get_frames())
-  frame = 0;
 }
 
 void