diff engine/core/view/camera.h @ 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 90005975cdbb
children 44919eb74c40
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