diff options
Diffstat (limited to 'src/game/client/components/camera.cpp')
| -rw-r--r-- | src/game/client/components/camera.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
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 { |