summaryrefslogtreecommitdiff
path: root/indra/newview/llteleporthistorystorage.cpp
diff options
context:
space:
mode:
authorEugene Mutavchi <emutavchi@productengine.com>2010-01-12 14:28:21 +0200
committerEugene Mutavchi <emutavchi@productengine.com>2010-01-12 14:28:21 +0200
commit305cc649697fa347538973f4f70b707529208e02 (patch)
treefff78b9da13b8852f580175f21330bc62e911d97 /indra/newview/llteleporthistorystorage.cpp
parentba320f7ca4957d7a8444df95211711a07055d2e1 (diff)
Fixed normal bug EXT-4150([BSI] Last Landmark in Teleport History disables teleport button)
--HG-- branch : product-engine
Diffstat (limited to 'indra/newview/llteleporthistorystorage.cpp')
-rw-r--r--indra/newview/llteleporthistorystorage.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/indra/newview/llteleporthistorystorage.cpp b/indra/newview/llteleporthistorystorage.cpp
index d3bbda1c72..c635f91423 100644
--- a/indra/newview/llteleporthistorystorage.cpp
+++ b/indra/newview/llteleporthistorystorage.cpp
@@ -246,13 +246,6 @@ void LLTeleportHistoryStorage::goToItem(S32 idx)
dump();
return;
}
-
- if (idx == (S32)mItems.size() - 1)
- {
- llwarns << "Will not teleport to the same location." << llendl;
- dump();
- return;
- }
// Attempt to teleport to the requested item.
gAgent.teleportViaLocation(mItems[idx].mGlobalPos);