From 51a9d23dae18ec7a678bdf4215f48d863a720fdc Mon Sep 17 00:00:00 2001 From: Dominik Geyer Date: Tue, 9 Sep 2008 15:50:41 +0000 Subject: fixed spectator mode freeview --- src/game/client/components/camera.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/game/client/components/camera.cpp') diff --git a/src/game/client/components/camera.cpp b/src/game/client/components/camera.cpp index a9727ccf..ba9aed46 100644 --- a/src/game/client/components/camera.cpp +++ b/src/game/client/components/camera.cpp @@ -20,9 +20,7 @@ void CAMERA::on_render() //vec2 center; zoom = 1.0f; - bool spectate = false; - - if(spectate) + if(gameclient.snap.spectate) center = gameclient.controls->mouse_pos; else { -- cgit 1.4.1