summaryrefslogtreecommitdiff
path: root/src/game.rs
diff options
context:
space:
mode:
authorJustin Worthe <justin@worthe-it.co.za>2019-08-06 10:59:30 +0200
committerJustin Worthe <justin@worthe-it.co.za>2019-08-06 10:59:30 +0200
commit4d8846395fe12e6d92014da10f1e017267af0c57 (patch)
tree01a054d9286b58e102974a0794bbc0dc1c8e1ac2 /src/game.rs
parentd23833847724620a8032bedb342d03b3b9184059 (diff)
Extra todos for snowball moves
Diffstat (limited to 'src/game.rs')
-rw-r--r--src/game.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game.rs b/src/game.rs
index c9f9b56..5b14e46 100644
--- a/src/game.rs
+++ b/src/game.rs
@@ -224,7 +224,7 @@ impl GameBoard {
fn simulate_moves(&mut self, actions: [Action; 2]) {
match actions {
[Action::Move(p1), Action::Move(p2)] if p1.x == p2.x && p1.y == p2.y => {
- let damage = COLLISSION_DAMAGE;
+ let damage = COLLISION_DAMAGE;
debug_assert_eq!(
Some(false),