Use 'Messages' to handle the cursor functions so code is more portable.
This commit is contained in:
parent
9b99d025b3
commit
1104f5e5fc
1 changed files with 193 additions and 50 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in a new issue