aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/chatbar_as_cmdline.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/chatbar_as_cmdline.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/linden/indra/newview/chatbar_as_cmdline.cpp b/linden/indra/newview/chatbar_as_cmdline.cpp
index 4e23b8a..aae4fbe 100644
--- a/linden/indra/newview/chatbar_as_cmdline.cpp
+++ b/linden/indra/newview/chatbar_as_cmdline.cpp
@@ -43,6 +43,7 @@
43#include "lluuid.h" 43#include "lluuid.h"
44#include "llviewercontrol.h" 44#include "llviewercontrol.h"
45 45
46#include "hippoGridManager.h"
46#include "material_codes.h" 47#include "material_codes.h"
47#include "llvolume.h" 48#include "llvolume.h"
48#include "object_flags.h" 49#include "object_flags.h"
@@ -557,7 +558,7 @@ bool cmd_line_chat(std::string revised_text, EChatType type)
557 { 558 {
558 gAgent.teleportHome(); 559 gAgent.teleportHome();
559 return false; 560 return false;
560 }else if(command == *sCmdLineChatbarRezPlatform) 561 }else if(command == *sCmdLineChatbarRezPlatform && gHippoGridManager->getConnectedGrid()->isSecondLife())
561 { 562 {
562 F32 width; 563 F32 width;
563 if (i >> width) cmdline_rezplat(false, width); 564 if (i >> width) cmdline_rezplat(false, width);