aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llfirstuse.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:54 -0500
committerJacek Antonelli2008-08-15 23:45:54 -0500
commitd0b03a62fd799317d5da0bd56615739ce3b5b052 (patch)
tree8bc79bbbb52e18294f62810d9fa66ce136f90e2d /linden/indra/newview/llfirstuse.cpp
parentSecond Life viewer sources 1.20.8 (diff)
downloadmeta-impy-d0b03a62fd799317d5da0bd56615739ce3b5b052.zip
meta-impy-d0b03a62fd799317d5da0bd56615739ce3b5b052.tar.gz
meta-impy-d0b03a62fd799317d5da0bd56615739ce3b5b052.tar.bz2
meta-impy-d0b03a62fd799317d5da0bd56615739ce3b5b052.tar.xz
Second Life viewer sources 1.20.9
Diffstat (limited to 'linden/indra/newview/llfirstuse.cpp')
-rw-r--r--linden/indra/newview/llfirstuse.cpp26
1 files changed, 17 insertions, 9 deletions
diff --git a/linden/indra/newview/llfirstuse.cpp b/linden/indra/newview/llfirstuse.cpp
index e6dee2c..b3d383d 100644
--- a/linden/indra/newview/llfirstuse.cpp
+++ b/linden/indra/newview/llfirstuse.cpp
@@ -37,6 +37,7 @@
37#include "indra_constants.h" 37#include "indra_constants.h"
38 38
39// viewer includes 39// viewer includes
40#include "llagent.h" // for gAgent.inPrelude()
40#include "llnotify.h" 41#include "llnotify.h"
41#include "llviewercontrol.h" 42#include "llviewercontrol.h"
42#include "llui.h" 43#include "llui.h"
@@ -107,12 +108,14 @@ void LLFirstUse::useBalanceDecrease(S32 delta)
107// static 108// static
108void LLFirstUse::useSit() 109void LLFirstUse::useSit()
109{ 110{
110 if (gSavedSettings.getWarning("FirstSit")) 111 // Our orientation island uses sitting to teach vehicle driving
111 { 112 // so just never show this message. JC
112 gSavedSettings.setWarning("FirstSit", FALSE); 113 //if (gSavedSettings.getWarning("FirstSit"))
113 114 //{
114 LLNotifyBox::showXml("FirstSit"); 115 // gSavedSettings.setWarning("FirstSit", FALSE);
115 } 116
117 // LLNotifyBox::showXml("FirstSit");
118 //}
116} 119}
117 120
118// static 121// static
@@ -168,11 +171,16 @@ void LLFirstUse::useTeleport()
168// static 171// static
169void LLFirstUse::useOverrideKeys() 172void LLFirstUse::useOverrideKeys()
170{ 173{
171 if (gSavedSettings.getWarning("FirstOverrideKeys")) 174 // Our orientation island uses key overrides to teach vehicle driving
175 // so don't show this message until you get off OI. JC
176 if (!gAgent.inPrelude())
172 { 177 {
173 gSavedSettings.setWarning("FirstOverrideKeys", FALSE); 178 if (gSavedSettings.getWarning("FirstOverrideKeys"))
179 {
180 gSavedSettings.setWarning("FirstOverrideKeys", FALSE);
174 181
175 LLNotifyBox::showXml("FirstOverrideKeys"); 182 LLNotifyBox::showXml("FirstOverrideKeys");
183 }
176 } 184 }
177} 185}
178 186