From 8be7cad11b1f36dd3e0d69f64d64094109b77afc Mon Sep 17 00:00:00 2001 From: Justin Worthe Date: Mon, 19 Aug 2019 20:49:21 +0200 Subject: Changes from balancing update --- src/constants/lava.rs | 1 + src/game.rs | 7 +------ 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/constants/lava.rs b/src/constants/lava.rs index dc0d064..67dc87c 100644 --- a/src/constants/lava.rs +++ b/src/constants/lava.rs @@ -1,6 +1,7 @@ use crate::constants::*; use crate::game::map::Map; +// TODO: Regenerate lava #[allow(clippy::all)] pub const LAVA_MAP: [Map; MAX_ROUNDS as usize + 1] = [ Map { diff --git a/src/game.rs b/src/game.rs index f2c0089..00289a0 100644 --- a/src/game.rs +++ b/src/game.rs @@ -238,13 +238,8 @@ impl GameBoard { self.simulate_moves(actions); self.simulate_digs(actions); self.simulate_bombs(actions); - // TODO: Question order of actions on the forums: https://forum.entelect.co.za/t/possible-bug-in-order-of-moves/822 - self.simulate_snowballs(actions); - // This check needs to happen again because the worm may have - // been frozen on the previous command. This will probably be - // removed after the bug is fixed. - let actions = self.identify_actions(moves); self.simulate_shoots(actions); + self.simulate_snowballs(actions); self.clear_dead_worms(); -- cgit v1.2.3