rust/lib-hedgewars-engine/src/lib.rs
changeset 14295 fd8e0e52d5bd
parent 14294 21be7838a127
child 14335 97be4f6bf264
--- a/rust/lib-hedgewars-engine/src/lib.rs	Sun Nov 25 22:32:49 2018 +0100
+++ b/rust/lib-hedgewars-engine/src/lib.rs	Mon Nov 26 02:50:54 2018 +0300
@@ -112,7 +112,8 @@
 
 #[no_mangle]
 pub extern "C" fn advance_simulation(engine_state: &mut EngineInstance, ticks: u32) -> bool {
-    unimplemented!()
+    engine_state.world.step();
+    true
 }
 #[no_mangle]
 pub extern "C" fn cleanup(engine_state: *mut EngineInstance) {