summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorAlexander Gavriliuk <alexandrgproductengine@lindenlab.com>2024-10-25 11:38:42 +0200
committerGuru <alexandrgproductengine@lindenlab.com>2024-10-25 17:11:38 +0200
commit927a96688daf1a73deae15c56a7a9c12c42f6a39 (patch)
treebbce12f2d60311d5caa549dd3fdaee845c6449bb /indra
parente90c6a8ebc189a7a455797a295d9311ecbb6e61f (diff)
Small fix in LLTeleportHandler::handle()
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llurldispatcher.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llurldispatcher.cpp b/indra/newview/llurldispatcher.cpp
index 166542324d..647210b7e6 100644
--- a/indra/newview/llurldispatcher.cpp
+++ b/indra/newview/llurldispatcher.cpp
@@ -306,7 +306,7 @@ public:
if (tokens.size() < 1) return false;
LLVector3 coords(128, 128, 0);
- if (tokens.size() <= 4)
+ if (tokens.size() >= 3) // Require at least [1] and [2]
{
coords = LLVector3((F32)tokens[1].asReal(),
(F32)tokens[2].asReal(),