From e62ec6528b2c75cd6ed107ad2aed5e74afa9d977 Mon Sep 17 00:00:00 2001 From: Ricardo Cruz Date: Wed, 8 Sep 2004 13:59:09 +0000 Subject: [PATCH] This checking is useless. It is done before drawing on update(). SVN-Revision: 1875 --- lib/special/sprite.cpp | 3 --- 1 file changed, 3 deletions(-) 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 -- 2.11.0