summaryrefslogtreecommitdiff
path: root/src/core/camera.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/camera.c')
-rw-r--r--src/core/camera.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/camera.c b/src/core/camera.c
index c0228ba..7f04207 100644
--- a/src/core/camera.c
+++ b/src/core/camera.c
@@ -47,7 +47,7 @@ void Camera_Update(Camera *camera) {
}
// Mouse
- if (MouseBtn_Held()) {
+ if (MouseBtn_Held(MOUSEBTN_LEFT)) {
mouse_state mouse = Input_GetMouseState();
// printf("Delta x: %d Delta y %d\n",mouse.x_delta, mouse.y_delta );