Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
vor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* main.c: wrapped call to autopilot_fix_keystates.
[vor.git]
/
main.c
diff --git
a/main.c
b/main.c
index
91556ad
..
91af524
100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-659,7
+659,9
@@
gameloop() {
}
}
keystate = SDL_GetKeyState(NULL);
- autopilot_fix_keystates(keystate);
+ if(opt_autopilot) {
+ autopilot_fix_keystates(keystate);
+ }
if(state == GAMEPLAY) {
if(!paused) {