summaryrefslogtreecommitdiff
path: root/indra/newview/llteleporthistorystorage.cpp
diff options
context:
space:
mode:
authorMark Palange (Mani) <palange@lindenlab.com>2010-02-02 14:53:01 -0800
committerMark Palange (Mani) <palange@lindenlab.com>2010-02-02 14:53:01 -0800
commitd14ecbace5c2d041fe4717c7d346083535267e24 (patch)
treeae95d038763d50cd5fc2f962f144c028059b6c4f /indra/newview/llteleporthistorystorage.cpp
parent58f813a136a5a889e01b39e96714af91402321ba (diff)
parent2c0418dfe0a3e903210516a70fd947870c340bf8 (diff)
merge
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);