From d09144d539f59e76309d4b61ed543bafd1bcb113 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Sun, 27 May 2018 16:17:26 -0400 Subject: fixed movement bug --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 6b09c72..4674579 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -290,7 +290,7 @@ void processKeys(Map& map, const Input& keystate) px++; } - if (!(player_x == px && player_y == px)) + if (!(player_x == px && player_y == py)) { movePlayer(px, py, map); } -- cgit 1.4.1