diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/constants/lava.rs | 1 | ||||
-rw-r--r-- | 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(); |