summaryrefslogtreecommitdiff
path: root/indra/newview/llteleporthistorystorage.cpp
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-01-13 15:15:51 -0800
committerTofu Linden <tofu.linden@lindenlab.com>2010-01-13 15:15:51 -0800
commiteae15689d8af7e2cd37108fda833bcc87f63eb4b (patch)
tree735dc7ac82a5d9f665b8fee5bd191381037f77db /indra/newview/llteleporthistorystorage.cpp
parentc316edda259a3914ceb0c646a543f144c370a39b (diff)
parent6ad8674a8c5a87f438aa5ad6230396a859ba268e (diff)
automated merge PE->viewer2.0
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);