From 838e2f184c1eb2541e3e25ac74bb6126ca5fd038 Mon Sep 17 00:00:00 2001
From: Allanis <allanis@saracraft.net>
Date: Tue, 5 Feb 2013 18:06:11 +0000
Subject: [PATCH] [Fix] Thanks @KonoM, Buh want to update out of that if
 statment. :)

---
 src/pilot.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/pilot.c b/src/pilot.c
index ee23583..417f769 100644
--- a/src/pilot.c
+++ b/src/pilot.c
@@ -144,7 +144,6 @@ void pilot_init(Pilot* pilot, Ship* ship, char* name, const double dir, const Ve
 
   if(flags & PILOT_PLAYER) {
     pilot->think = player_think; // Players don't need to thing! :P
-    pilot->update = pilot_update;
     pilot->render = NULL;
     pilot->properties |= PILOT_PLAYER;
     player = pilot;
@@ -152,6 +151,7 @@ void pilot_init(Pilot* pilot, Ship* ship, char* name, const double dir, const Ve
     pilot->think = ai_think;
     pilot->update = pilot_update;
   }
+  pilot->update = pilot_update;
 }
 
 // Create a new pilot - Params are same as pilot_init. Return pilot's id.