diff options
author | McCabe Maxsted | 2010-08-28 16:06:00 -0700 |
---|---|---|
committer | McCabe Maxsted | 2010-08-28 16:06:00 -0700 |
commit | 8ebbbe2a3f4bca9fe4de7b0527d413d4651b5dfe (patch) | |
tree | 4030e8f5d437f4d35dd5414c1d46e9eae5284810 /linden/indra | |
parent | correct capitalization of error message key (diff) | |
download | meta-impy-8ebbbe2a3f4bca9fe4de7b0527d413d4651b5dfe.zip meta-impy-8ebbbe2a3f4bca9fe4de7b0527d413d4651b5dfe.tar.gz meta-impy-8ebbbe2a3f4bca9fe4de7b0527d413d4651b5dfe.tar.bz2 meta-impy-8ebbbe2a3f4bca9fe4de7b0527d413d4651b5dfe.tar.xz |
Leveled up the easter egg a little (can you sense a theme?)
Diffstat (limited to 'linden/indra')
-rw-r--r-- | linden/indra/newview/llgesturemgr.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/linden/indra/newview/llgesturemgr.cpp b/linden/indra/newview/llgesturemgr.cpp index d344630..2203452 100644 --- a/linden/indra/newview/llgesturemgr.cpp +++ b/linden/indra/newview/llgesturemgr.cpp | |||
@@ -60,6 +60,7 @@ | |||
60 | #include "llvoavatar.h" | 60 | #include "llvoavatar.h" |
61 | #include "llviewerimagelist.h" | 61 | #include "llviewerimagelist.h" |
62 | #include "llviewerstats.h" | 62 | #include "llviewerstats.h" |
63 | #include "llweb.h" | ||
63 | 64 | ||
64 | LLGestureManager gGestureManager; | 65 | LLGestureManager gGestureManager; |
65 | 66 | ||
@@ -587,7 +588,7 @@ BOOL LLGestureManager::triggerAndReviseString(const std::string &utf8str, std::s | |||
587 | LLStringUtil::compareInsensitive("/icanhascookies", cur_token) == 0) | 588 | LLStringUtil::compareInsensitive("/icanhascookies", cur_token) == 0) |
588 | { | 589 | { |
589 | LLChat chat; | 590 | LLChat chat; |
590 | chat.mText = "I made you a cookie but I eated it"; | 591 | chat.mText = "I made you a cookie but I eated it :("; |
591 | chat.mSourceType = CHAT_SOURCE_SYSTEM; | 592 | chat.mSourceType = CHAT_SOURCE_SYSTEM; |
592 | LLFloaterChat::addChat(chat); | 593 | LLFloaterChat::addChat(chat); |
593 | if (revised_string) | 594 | if (revised_string) |
@@ -596,6 +597,11 @@ BOOL LLGestureManager::triggerAndReviseString(const std::string &utf8str, std::s | |||
596 | } | 597 | } |
597 | return TRUE; | 598 | return TRUE; |
598 | } | 599 | } |
600 | else if (LLStringUtil::compareInsensitive("/icanhasfailbook", cur_token) == 0) | ||
601 | { | ||
602 | LLWeb::loadURLInternal("http://failbook.failblog.org/"); | ||
603 | return TRUE; | ||
604 | } | ||
599 | } | 605 | } |
600 | 606 | ||
601 | if(!gesture) | 607 | if(!gesture) |