diff options
author | Jacek Antonelli | 2008-08-15 23:45:07 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:07 -0500 |
commit | 8465910c79b8e746e04fd581cca2d60399e569b9 (patch) | |
tree | f43fec3e83c46e0d6190dca923d6fb268b52ffdd /linden/indra/newview/llfloatertos.cpp | |
parent | Second Life viewer sources 1.18.2.1 (diff) | |
download | meta-impy-8465910c79b8e746e04fd581cca2d60399e569b9.zip meta-impy-8465910c79b8e746e04fd581cca2d60399e569b9.tar.gz meta-impy-8465910c79b8e746e04fd581cca2d60399e569b9.tar.bz2 meta-impy-8465910c79b8e746e04fd581cca2d60399e569b9.tar.xz |
Second Life viewer sources 1.18.3.2-RC
Diffstat (limited to 'linden/indra/newview/llfloatertos.cpp')
-rw-r--r-- | linden/indra/newview/llfloatertos.cpp | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/linden/indra/newview/llfloatertos.cpp b/linden/indra/newview/llfloatertos.cpp index 3ea8c49..93aa3df 100644 --- a/linden/indra/newview/llfloatertos.cpp +++ b/linden/indra/newview/llfloatertos.cpp | |||
@@ -267,7 +267,17 @@ void LLFloaterTOS::onContinue( void* userdata ) | |||
267 | { | 267 | { |
268 | gAcceptCriticalMessage = TRUE; | 268 | gAcceptCriticalMessage = TRUE; |
269 | } | 269 | } |
270 | gStartupState++; | 270 | |
271 | // Testing TOS dialog | ||
272 | #if ! LL_RELEASE_FOR_DOWNLOAD | ||
273 | if ( LLStartUp::getStartupState() == STATE_LOGIN_WAIT ) | ||
274 | { | ||
275 | LLStartUp::setStartupState( STATE_LOGIN_SHOW ); | ||
276 | } | ||
277 | else | ||
278 | #endif | ||
279 | |||
280 | LLStartUp::setStartupState( STATE_LOGIN_AUTH_INIT ); // Go back and finish authentication | ||
271 | self->close(); // destroys this object | 281 | self->close(); // destroys this object |
272 | } | 282 | } |
273 | 283 | ||
@@ -277,7 +287,7 @@ void LLFloaterTOS::onCancel( void* userdata ) | |||
277 | LLFloaterTOS* self = (LLFloaterTOS*) userdata; | 287 | LLFloaterTOS* self = (LLFloaterTOS*) userdata; |
278 | llinfos << "User disagrees with TOS." << llendl; | 288 | llinfos << "User disagrees with TOS." << llendl; |
279 | gViewerWindow->alertXml("MustAgreeToLogIn", login_alert_done); | 289 | gViewerWindow->alertXml("MustAgreeToLogIn", login_alert_done); |
280 | gStartupState = STATE_LOGIN_SHOW; | 290 | LLStartUp::setStartupState( STATE_LOGIN_SHOW ); |
281 | self->mLoadCompleteCount = 0; // reset counter for next time we come to TOS | 291 | self->mLoadCompleteCount = 0; // reset counter for next time we come to TOS |
282 | self->close(); // destroys this object | 292 | self->close(); // destroys this object |
283 | } | 293 | } |