summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authortom <tom@ground-control>2015-11-25 13:27:43 -0600
committertom <tom@ground-control>2015-11-25 13:27:43 -0600
commite63a678a8fdde888620b6d5a5059bd0f37141592 (patch)
treef49292feed3b8132496658c1be8414d801a62727 /src/main.cpp
parent1031174ed7446d22b3f5505ff3a4e84135b88cc3 (diff)
cleaned wander and added heuristic movement that doesnt work
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp4
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')