mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-04-07 03:32:42 +02:00
Does not allow mouse capture if disabled.
This commit is contained in:
parent
4ccefd0471
commit
e38d5e6647
1 changed files with 2 additions and 1 deletions
|
@ -160,7 +160,8 @@ by rampa3 (https://github.com/rampa3) and vegaslon (https://github.com/vegaslon)
|
|||
}
|
||||
|
||||
function mouseLookOn() {
|
||||
Camera.captureMouse = true;
|
||||
if (mouseLookEnabled)
|
||||
Camera.captureMouse = true;
|
||||
}
|
||||
|
||||
function mouseLookOff() {
|
||||
|
|
Loading…
Reference in a new issue