about summary refs log tree commit diff
path: root/src/game/client/components/camera.h
diff options
context:
space:
mode:
authoroy <Tom_Adams@web.de>2010-09-19 16:00:46 +0200
committeroy <Tom_Adams@web.de>2010-09-19 16:00:46 +0200
commit80b570c7952ef6cc4f54b4cbb1b873a5b770a5d7 (patch)
tree2f47635f2fcb668bc3ffaca39144fa31081599af /src/game/client/components/camera.h
parent0905b7755d4d5da79144979ffae554476d44495f (diff)
downloadzcatch-80b570c7952ef6cc4f54b4cbb1b873a5b770a5d7.tar.gz
zcatch-80b570c7952ef6cc4f54b4cbb1b873a5b770a5d7.zip
fixed view offset when changing from spectator to player. Closes #152
Diffstat (limited to 'src/game/client/components/camera.h')
-rw-r--r--src/game/client/components/camera.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/client/components/camera.h b/src/game/client/components/camera.h
index 9654bdf6..9b865885 100644
--- a/src/game/client/components/camera.h
+++ b/src/game/client/components/camera.h
@@ -8,6 +8,7 @@ class CCamera : public CComponent
 public:
 	vec2 m_Center;
 	float m_Zoom;
+	bool m_WasSpectator;
 
 	CCamera();
 	virtual void OnRender();