Make getFlyingEnabled() always true when in desktop.

This commit is contained in:
MuteTab 2018-07-19 14:40:20 -07:00
parent 97e5d65592
commit 3080539b63

View file

@ -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