From: Ricardo Cruz Date: Wed, 8 Sep 2004 13:59:09 +0000 (+0000) Subject: This checking is useless. It is done before drawing on update(). X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=e62ec6528b2c75cd6ed107ad2aed5e74afa9d977;p=supertux.git This checking is useless. It is done before drawing on update(). SVN-Revision: 1875 --- diff --git a/lib/special/sprite.cpp b/lib/special/sprite.cpp index 8e8060486..6338c880c 100644 --- a/lib/special/sprite.cpp +++ b/lib/special/sprite.cpp @@ -131,9 +131,6 @@ if(i == actions.end()) return; } action = i->second; - -if((int)frame >= get_frames()) - frame = 0; } void