From: Ryan Flegel Date: Fri, 28 Apr 2006 15:08:25 +0000 (+0000) Subject: Forgot file X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=467e2cb99bce69505fddf51cfa181266ae261623;p=supertux.git Forgot file SVN-Revision: 3459 --- diff --git a/src/object/player.hpp b/src/object/player.hpp index 4226f9ebc..f113104d3 100644 --- a/src/object/player.hpp +++ b/src/object/player.hpp @@ -126,7 +126,11 @@ public: virtual void expose(HSQUIRRELVM vm, int table_idx); virtual void unexpose(HSQUIRRELVM vm, int table_idx); - void set_controller(Controller* controller); + void set_controller(Controller* controller); + Controller* get_controller() + { + return controller; + } virtual void update(float elapsed_time); virtual void draw(DrawingContext& context);