aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llfloaterworldmap.cpp
diff options
context:
space:
mode:
authorMcCabe Maxsted2009-10-19 10:33:38 -0700
committerMcCabe Maxsted2009-10-19 10:33:38 -0700
commitc0b31fcc3e16436ded72c4d36eb5a0d704fa7b8d (patch)
treea1ad1ef53f28fbc83caa4a2698875f95c7fcff6d /linden/indra/newview/llfloaterworldmap.cpp
parentApplied rlva_init-imprudence.patch (fixes RLVa not initializing in 1.2) (diff)
downloadmeta-impy-c0b31fcc3e16436ded72c4d36eb5a0d704fa7b8d.zip
meta-impy-c0b31fcc3e16436ded72c4d36eb5a0d704fa7b8d.tar.gz
meta-impy-c0b31fcc3e16436ded72c4d36eb5a0d704fa7b8d.tar.bz2
meta-impy-c0b31fcc3e16436ded72c4d36eb5a0d704fa7b8d.tar.xz
Clamp map teleporting at 4096 rather than 1000
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llfloaterworldmap.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/linden/indra/newview/llfloaterworldmap.cpp b/linden/indra/newview/llfloaterworldmap.cpp
index 70223c9..028ebf2 100644
--- a/linden/indra/newview/llfloaterworldmap.cpp
+++ b/linden/indra/newview/llfloaterworldmap.cpp
@@ -770,7 +770,7 @@ void LLFloaterWorldMap::updateLocation()
770void LLFloaterWorldMap::trackURL(const std::string& region_name, S32 x_coord, S32 y_coord, S32 z_coord) 770void LLFloaterWorldMap::trackURL(const std::string& region_name, S32 x_coord, S32 y_coord, S32 z_coord)
771{ 771{
772 LLSimInfo* sim_info = LLWorldMap::getInstance()->simInfoFromName(region_name); 772 LLSimInfo* sim_info = LLWorldMap::getInstance()->simInfoFromName(region_name);
773 z_coord = llclamp(z_coord, 0, 1000); 773 z_coord = llclamp(z_coord, 0, 4096);
774 if (sim_info) 774 if (sim_info)
775 { 775 {
776 LLVector3 local_pos; 776 LLVector3 local_pos;