diff options
author | McCabe Maxsted | 2010-06-07 01:51:55 -0700 |
---|---|---|
committer | Jacek Antonelli | 2010-06-19 02:43:33 -0500 |
commit | 21e7dc45b36105eb2f24c4d69c595861bfe0d9ec (patch) | |
tree | 411158330736854c20bf7a39331237098b48de0d | |
parent | Added menu entry for Private Look At, made it so you can't have Show Look At ... (diff) | |
download | meta-impy-21e7dc45b36105eb2f24c4d69c595861bfe0d9ec.zip meta-impy-21e7dc45b36105eb2f24c4d69c595861bfe0d9ec.tar.gz meta-impy-21e7dc45b36105eb2f24c4d69c595861bfe0d9ec.tar.bz2 meta-impy-21e7dc45b36105eb2f24c4d69c595861bfe0d9ec.tar.xz |
Added a little easter egg for Jacek
-rw-r--r-- | linden/indra/newview/llgesturemgr.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/linden/indra/newview/llgesturemgr.cpp b/linden/indra/newview/llgesturemgr.cpp index 2135ea5..a341154 100644 --- a/linden/indra/newview/llgesturemgr.cpp +++ b/linden/indra/newview/llgesturemgr.cpp | |||
@@ -52,6 +52,7 @@ | |||
52 | #include "llagent.h" | 52 | #include "llagent.h" |
53 | #include "llchatbar.h" | 53 | #include "llchatbar.h" |
54 | #include "lldelayedgestureerror.h" | 54 | #include "lldelayedgestureerror.h" |
55 | #include "llfloaterchat.h" | ||
55 | #include "llinventorymodel.h" | 56 | #include "llinventorymodel.h" |
56 | #include "llnotify.h" | 57 | #include "llnotify.h" |
57 | #include "llviewermessage.h" | 58 | #include "llviewermessage.h" |
@@ -560,6 +561,18 @@ BOOL LLGestureManager::triggerAndReviseString(const std::string &utf8str, std::s | |||
560 | found_gestures = TRUE; | 561 | found_gestures = TRUE; |
561 | } | 562 | } |
562 | } | 563 | } |
564 | else if (LLStringUtil::compareInsensitive("/icanhascookie", cur_token) == 0) | ||
565 | { | ||
566 | LLChat chat; | ||
567 | chat.mText = "I made you a cookie but I eated it"; | ||
568 | chat.mSourceType = CHAT_SOURCE_SYSTEM; | ||
569 | LLFloaterChat::addChat(chat); | ||
570 | if (revised_string) | ||
571 | { | ||
572 | revised_string->assign(LLStringUtil::null); | ||
573 | } | ||
574 | return TRUE; | ||
575 | } | ||
563 | } | 576 | } |
564 | 577 | ||
565 | if(!gesture) | 578 | if(!gesture) |