summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Worthe <justin@worthe-it.co.za>2019-08-19 20:49:21 +0200
committerJustin Worthe <justin@worthe-it.co.za>2019-08-19 20:49:21 +0200
commit8be7cad11b1f36dd3e0d69f64d64094109b77afc (patch)
tree06b33c9787eafff11e043b1e41717a5f5f3d0e6a
parentd6fc8e9f7d39c6b20b506f54c5313bc17cfbab8b (diff)
Changes from balancing update
-rw-r--r--src/constants/lava.rs1
-rw-r--r--src/game.rs7
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();