Fixed "Always allow fly" - A new setting was added instead of using the one already in.

Still fighting with the Windlight bar.
Added some other options in? I don't know any more.

Signed-off-by: Beeks <HgDelirium@gmail.com>
This commit is contained in:
Beeks
2010-09-01 17:55:27 -04:00
parent b86566df43
commit 441a7059f6
5 changed files with 133 additions and 11 deletions

View File

@@ -793,7 +793,8 @@ BOOL LLAgent::canFly()
if (isGodlike()) return TRUE;
// <edit>
if(gSavedSettings.getBOOL("AlwaysAllowFly")) return TRUE;
if(gSavedSettings.getBOOL("AscentFlyAlwaysEnabled"))
return TRUE;
// </edit>
LLViewerRegion* regionp = getRegion();