Mercurial > fife-parpg
changeset 200:084004e91d62
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.
author | vtchill@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Fri, 13 Mar 2009 02:27:14 +0000 |
parents | 4ea1e0b56a07 |
children | a9c4b895ed02 |
files | engine/core/view/camera.h |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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