From 138f2df1522e583e30aef7e6a515f25b3432e63f Mon Sep 17 00:00:00 2001 From: Patricia Aas Date: Tue, 6 Jul 2021 17:10:17 +0200 Subject: [PATCH] PacMan size is an integer --- lib/PacMan.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/PacMan.cpp b/lib/PacMan.cpp index b894aeb..20cd843 100644 --- a/lib/PacMan.cpp +++ b/lib/PacMan.cpp @@ -76,7 +76,7 @@ void PacMan::updateMazePosition(std::chrono::milliseconds time_delta, const Boar } const double position_delta = 0.004 * time_delta.count(); - const auto pacman_size = 1.0; + const auto pacman_size = 1; auto moveToPosition = [&](Position point, Direction move_direction) { switch (move_direction) {