summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
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)
290 px++; 290 px++;
291 } 291 }
292 292
293 if (!(player_x == px && player_y == px)) 293 if (!(player_x == px && player_y == py))
294 { 294 {
295 movePlayer(px, py, map); 295 movePlayer(px, py, map);
296 } 296 }