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
resolved conflict
[vor.git]
/
main.c
diff --git
a/main.c
b/main.c
index
91556ad
..
548cf42
100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-659,7
+659,9
@@
gameloop() {
}
}
keystate = SDL_GetKeyState(NULL);
}
}
keystate = SDL_GetKeyState(NULL);
- autopilot_fix_keystates(keystate);
+ if(opt_autopilot) {
+ autopilot_fix_keystates(keystate);
+ }
if(state == GAMEPLAY) {
if(!paused) {
if(state == GAMEPLAY) {
if(!paused) {
@@
-789,7
+791,7
@@
main(int argc, char **argv) {
frames = 0;
gameloop();
end = SDL_GetTicks();
frames = 0;
gameloop();
end = SDL_GetTicks();
- printf("%ld frames in %ld ms, %.2f fps.\n", frames, end-start, frames * 1000.0 / (end-start));
+ // printf("%ld frames in %ld ms, %.2f fps.\n", frames, end-start, frames * 1000.0 / (end-start));
return 0;
}
return 0;
}