summary refs log tree commit diff stats
path: root/src/main.cpp
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2018-05-27 16:17:26 -0400
committerKelly Rauchenberger <fefferburbia@gmail.com>2018-05-27 16:17:26 -0400
commitd09144d539f59e76309d4b61ed543bafd1bcb113 (patch)
tree2e11b0b7a816c018f5bc4971b6693ce8a2aa6817 /src/main.cpp
parentef77024dfdbcd34ab9deca3013e82cacf751aa54 (diff)
downloadether-d09144d539f59e76309d4b61ed543bafd1bcb113.tar.gz
ether-d09144d539f59e76309d4b61ed543bafd1bcb113.tar.bz2
ether-d09144d539f59e76309d4b61ed543bafd1bcb113.zip
fixed movement bug
Diffstat (limited to 'src/main.cpp')
-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 }