Index: /trunk/nv/gfx/keyframed_mesh.hh
===================================================================
--- /trunk/nv/gfx/keyframed_mesh.hh	(revision 158)
+++ /trunk/nv/gfx/keyframed_mesh.hh	(revision 159)
@@ -21,5 +21,5 @@
 		uint32 get_max_frames() const;
 		void set_frame( uint32 frame );
-		void setup_animation( uint32 start, uint32 stop, uint32 fps, bool loop );
+		void setup_animation( uint32 start, uint32 count, uint32 fps, bool loop );
 		void update( uint32 ms );
 		void draw( render_state& rstate );
Index: /trunk/src/gfx/keyframed_mesh.cc
===================================================================
--- /trunk/src/gfx/keyframed_mesh.cc	(revision 158)
+++ /trunk/src/gfx/keyframed_mesh.cc	(revision 159)
@@ -75,13 +75,13 @@
 }
 
-void keyframed_mesh::setup_animation( uint32 start, uint32 stop, uint32 fps, bool loop )
+void keyframed_mesh::setup_animation( uint32 start, uint32 count, uint32 fps, bool loop )
 {
 	m_start_frame   = start;
-	m_stop_frame    = stop;
+	m_stop_frame    = start+count-1;
 	m_looping       = loop;
 	m_fps           = fps;
-	m_active        = ( stop > start );
+	m_active        = count > 1;
 	m_last_frame    = start;
-	m_next_frame    = (stop > start ? start + 1 : start );
+	m_next_frame    = (count > 1 ? start + 1 : start );
 	m_interpolation = 0.0f;
 	m_time          = 0;
