From 467e2cb99bce69505fddf51cfa181266ae261623 Mon Sep 17 00:00:00 2001 From: Ryan Flegel Date: Fri, 28 Apr 2006 15:08:25 +0000 Subject: [PATCH] Forgot file SVN-Revision: 3459 --- src/object/player.hpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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); -- 2.11.0