Remove one change, turned out to be unnecessary.

This commit is contained in:
MuteTab 2018-07-19 14:43:46 -07:00
parent 3080539b63
commit 8d65e14193

View file

@ -2822,6 +2822,7 @@ void MyAvatar::setFlyingEnabled(bool enabled) {
return;
}
// Flying should always be enabled for desktop users, preference may be set for HMD.
_enableFlying = enabled;
}
@ -2837,8 +2838,7 @@ bool MyAvatar::isInAir() {
bool MyAvatar::getFlyingEnabled() {
// May return true even if client is not allowed to fly in the zone.
// Should always return true if in desktop mode.
return (qApp->isHMDMode()) ? _enableFlying : true;
return _enableFlying;
}
// Public interface for targetscale