summaryrefslogtreecommitdiff
path: root/indra/newview/llagent.cpp
diff options
context:
space:
mode:
authorJonathan Yap <none@none>2012-02-19 14:06:32 -0500
committerJonathan Yap <none@none>2012-02-19 14:06:32 -0500
commit566bbe7e09bf9cd9939cfae40773d86993803d1b (patch)
tree6527575edfbe6a24e3623fe7318b673f7d493c70 /indra/newview/llagent.cpp
parent1f5c2c056ff2b660b053cf3a7344fdf1c5c15b0e (diff)
STORM-1808 Recode so build button is not clickable when grayed out
Diffstat (limited to 'indra/newview/llagent.cpp')
-rwxr-xr-xindra/newview/llagent.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/indra/newview/llagent.cpp b/indra/newview/llagent.cpp
index f0add8ddc4..3870a3be2e 100755
--- a/indra/newview/llagent.cpp
+++ b/indra/newview/llagent.cpp
@@ -169,11 +169,7 @@ bool LLAgent::isActionAllowed(const LLSD& sdname)
const std::string& param = sdname.asString();
- if (param == "build")
- {
- retval = LLViewerParcelMgr::getInstance()->allowAgentBuild();
- }
- else if (param == "speak")
+ if (param == "speak")
{
if ( gAgent.isVoiceConnected() &&
LLViewerParcelMgr::getInstance()->allowAgentVoice() &&