From fd76673983c406545f8fe1c89a9202760f30e4e9 Mon Sep 17 00:00:00 2001 From: Joshua Grams Date: Tue, 8 May 2007 23:39:22 +0000 Subject: [PATCH] * main.c: wrapped call to autopilot_fix_keystates. --- main.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/main.c b/main.c index 91556ad..91af524 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) { -- 1.7.10.4