From 141790fe0ad72b57fcf7b06667779d29aa305502 Mon Sep 17 00:00:00 2001 From: Allanis Date: Tue, 5 Feb 2013 18:11:43 +0000 Subject: [PATCH] [Fix] Oops. Removed render instead of update from that last commit. D: --- src/pilot.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pilot.c b/src/pilot.c index 417f769..a2bfb7c 100644 --- a/src/pilot.c +++ b/src/pilot.c @@ -149,9 +149,10 @@ void pilot_init(Pilot* pilot, Ship* ship, char* name, const double dir, const Ve player = pilot; } else { pilot->think = ai_think; - pilot->update = pilot_update; + pilot->render = pilot_render; } pilot->update = pilot_update; + } // Create a new pilot - Params are same as pilot_init. Return pilot's id.