changeset 15266 | b58f98bbc120 |
parent 14716 | 8e74d4eb89f5 |
child 15270 | 7446258fab98 |
--- a/rust/hwphysics/src/lib.rs Thu Jul 25 15:18:00 2019 +0200 +++ b/rust/hwphysics/src/lib.rs Thu Jul 25 16:29:14 2019 +0300 @@ -48,7 +48,7 @@ pub fn step(&mut self, time_step: FPNum, land: &Land2D<u32>) { let updates = self.physics.process(time_step); - self.collision.process(land, &updates); + let collision = self.collision.process(land, &updates); } pub fn add_gear_data<T>(&mut self, gear_id: GearId, data: T)