diff -r 42b710b0f883 -r 66c987015f2d rust/lib-hedgewars-engine/src/world.rs --- a/rust/lib-hedgewars-engine/src/world.rs Thu Jul 25 22:31:24 2019 +0300 +++ b/rust/lib-hedgewars-engine/src/world.rs Thu Jul 25 23:02:02 2019 +0300 @@ -1,5 +1,8 @@ use fpnum::{fp, FPNum, FPPoint}; -use hwphysics::{self as hwp, common::GearId}; +use hwphysics::{ + self as hwp, + common::{GearId, Millis}, +}; use integral_geometry::{Point, Rect, Size}; use land2d::Land2D; use landgen::{ @@ -150,7 +153,7 @@ } if let Some(ref mut state) = self.game_state { - state.physics.step(fp!(1), &state.land); + state.physics.step(Millis::new(1), &state.land); } } }