Skip to content

Commit 6b93180

Browse files
authored
Fix for free camera mode (#3603)
* fix free and fp cam * revert
1 parent d99617d commit 6b93180

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rcamera.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ void UpdateCamera(Camera *camera, int mode)
449449

450450
bool moveInWorldPlane = ((mode == CAMERA_FIRST_PERSON) || (mode == CAMERA_THIRD_PERSON));
451451
bool rotateAroundTarget = ((mode == CAMERA_THIRD_PERSON) || (mode == CAMERA_ORBITAL));
452-
bool lockView = ((mode == CAMERA_FIRST_PERSON) || (mode == CAMERA_THIRD_PERSON) || (mode == CAMERA_ORBITAL));
452+
bool lockView = ((mode == CAMERA_FREE) || (mode == CAMERA_FIRST_PERSON) || (mode == CAMERA_THIRD_PERSON) || (mode == CAMERA_ORBITAL));
453453
bool rotateUp = false;
454454

455455
if (mode == CAMERA_ORBITAL)

0 commit comments

Comments
 (0)