# HG changeset patch # User vtchill@33b003aa-7bff-0310-803a-e67f0ece8222 # Date 1236911234 0 # Node ID 084004e91d620511f1d987686dda07007d9aaadb # Parent 4ea1e0b56a071cc26809109adb57f186f150e27e the function getAttached() in FIFE::Camera was returning a FIFE::Instance* but the function return value was a bool. Changed the function so now its prototype is correct. diff -r 4ea1e0b56a07 -r 084004e91d62 engine/core/view/camera.h --- a/engine/core/view/camera.h Fri Mar 13 01:58:04 2009 +0000 +++ b/engine/core/view/camera.h Fri Mar 13 02:27:14 2009 +0000 @@ -162,7 +162,7 @@ /** Returns instance where camera is attached. NULL if not attached */ - bool getAttached() const { return m_attachedto; } + Instance* getAttached() const { return m_attachedto; } /** Sets the viewport for camera * viewport is rectangle inside the view where camera renders