diff --git a/src/engine/character/mod.rs b/src/engine/character/mod.rs index 1182e74..c775681 100644 --- a/src/engine/character/mod.rs +++ b/src/engine/character/mod.rs @@ -218,7 +218,7 @@ impl Drawable for Character { fn texture_rect(&self) -> IntRect { let frame = if let Some(started) = self.animation_timer { - duration_as_frame(&Instant::now().duration_since(started), 2) + 1 - duration_as_frame(&Instant::now().duration_since(started), 2) } else { 0 };