Use 'Messages' to handle the cursor functions so code is more portable.

This commit is contained in:
Reece Mackie 2019-04-25 20:52:50 +01:00
commit 1104f5e5fc

View file

@ -257,7 +257,6 @@ void SetCameraMode(Camera camera, int mode)
playerEyesPosition = camera.position.y;
// Lock cursor for first person and third person cameras
if ((mode == CAMERA_FIRST_PERSON) || (mode == CAMERA_THIRD_PERSON)) DisableCursor();
else EnableCursor();