mirror of
https://github.com/overte-org/overte.git
synced 2025-04-22 03:04:33 +02:00
Make getFlyingEnabled() always true when in desktop.
This commit is contained in:
parent
97e5d65592
commit
3080539b63
1 changed files with 2 additions and 1 deletions
|
@ -2837,7 +2837,8 @@ bool MyAvatar::isInAir() {
|
|||
|
||||
bool MyAvatar::getFlyingEnabled() {
|
||||
// May return true even if client is not allowed to fly in the zone.
|
||||
return _enableFlying;
|
||||
// Should always return true if in desktop mode.
|
||||
return (qApp->isHMDMode()) ? _enableFlying : true;
|
||||
}
|
||||
|
||||
// Public interface for targetscale
|
||||
|
|
Loading…
Reference in a new issue