diff options
author | tom <tom@ground-control> | 2015-11-25 13:27:43 -0600 |
---|---|---|
committer | tom <tom@ground-control> | 2015-11-25 13:27:43 -0600 |
commit | e63a678a8fdde888620b6d5a5059bd0f37141592 (patch) | |
tree | f49292feed3b8132496658c1be8414d801a62727 /src/main.cpp | |
parent | 1031174ed7446d22b3f5505ff3a4e84135b88cc3 (diff) |
cleaned wander and added heuristic movement that doesnt work
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp index 8f5208f..75847a2 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -26,9 +26,9 @@ int main() else if (c == 'l') l.y = l.y+1; else if (c == 'k') - l.x = l.x+1; - else if (c == 'j') l.x = l.x-1; + else if (c == 'j') + l.x = l.x+1; else if (c == 'q') break; else if (c == 'p') |