X-Git-Url: https://jasonwoof.com/gitweb/?p=vor.git;a=blobdiff_plain;f=main.c;h=4d341c0c8bb3630968bd8b96db0b4806e8fcfacd;hp=91556adcc24fd818cc5afd41eb8dd6288a2f3407;hb=6176e2f9f2cfeebf6be46302db1f85be4932d1e6;hpb=0c92fe510799dde8568e4d787908704c35a0864c diff --git a/main.c b/main.c index 91556ad..4d341c0 100644 --- 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) { @@ -789,7 +791,7 @@ main(int argc, char **argv) { 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; }