aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/aoremotectrl.cpp
diff options
context:
space:
mode:
authorMcCabe Maxsted2010-09-02 17:51:44 -0700
committerMcCabe Maxsted2010-09-02 17:51:44 -0700
commitb1aeeb190c8d0ebd652a8e874c894706b199ee9b (patch)
tree9c24803e0ab8567b12ebf6bbb5c8fd7af26ee74e /linden/indra/newview/aoremotectrl.cpp
parentFixed domain suffixes showing up as misspelled (diff)
downloadmeta-impy-b1aeeb190c8d0ebd652a8e874c894706b199ee9b.zip
meta-impy-b1aeeb190c8d0ebd652a8e874c894706b199ee9b.tar.gz
meta-impy-b1aeeb190c8d0ebd652a8e874c894706b199ee9b.tar.bz2
meta-impy-b1aeeb190c8d0ebd652a8e874c894706b199ee9b.tar.xz
Fixed 'cao on/off' commands not working in the chatbar
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/aoremotectrl.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/linden/indra/newview/aoremotectrl.cpp b/linden/indra/newview/aoremotectrl.cpp
index 8cafdd9..781f1b3 100644
--- a/linden/indra/newview/aoremotectrl.cpp
+++ b/linden/indra/newview/aoremotectrl.cpp
@@ -96,6 +96,7 @@ void AORemoteCtrl::onClickToggleAO(void* data)
96{ 96{
97 BOOL ao_enable = gSavedSettings.getBOOL("AOEnabled"); 97 BOOL ao_enable = gSavedSettings.getBOOL("AOEnabled");
98 gSavedSettings.setBOOL("AOEnabled", !ao_enable); 98 gSavedSettings.setBOOL("AOEnabled", !ao_enable);
99 LLFloaterAO::run();
99} 100}
100 101
101//static 102//static
@@ -103,6 +104,7 @@ void AORemoteCtrl::onClickToggleAOSit(void* data)
103{ 104{
104 BOOL sit_enable = gSavedSettings.getBOOL("AOSitsEnabled"); 105 BOOL sit_enable = gSavedSettings.getBOOL("AOSitsEnabled");
105 gSavedSettings.setBOOL("AOSitsEnabled", !sit_enable); 106 gSavedSettings.setBOOL("AOSitsEnabled", !sit_enable);
107 LLFloaterAO::run();
106} 108}
107 109
108//static 110//static