about summary refs log tree commit diff
path: root/src/game/client/components/camera.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/client/components/camera.cpp')
-rw-r--r--src/game/client/components/camera.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/client/components/camera.cpp b/src/game/client/components/camera.cpp
index ba9aed46..7b188e00 100644
--- a/src/game/client/components/camera.cpp
+++ b/src/game/client/components/camera.cpp
@@ -19,7 +19,8 @@ void CAMERA::on_render()
 {
 	//vec2 center;
 	zoom = 1.0f;
-	
+
+	// update camera center		
 	if(gameclient.snap.spectate)
 		center = gameclient.controls->mouse_pos;
 	else
@@ -37,4 +38,3 @@ void CAMERA::on_render()
 		center = gameclient.local_character_pos + camera_offset;
 	}
 }
-