summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llfloaterworldmap.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/llfloaterworldmap.cpp b/indra/newview/llfloaterworldmap.cpp
index 031294ad56..88f8545877 100644
--- a/indra/newview/llfloaterworldmap.cpp
+++ b/indra/newview/llfloaterworldmap.cpp
@@ -1191,9 +1191,9 @@ void LLFloaterWorldMap::onCoordinatesCommit()
return;
}
- F32 x_coord = (F32)childGetValue("teleport_coordinate_x").asReal();
- F32 y_coord = (F32)childGetValue("teleport_coordinate_y").asReal();
- F32 z_coord = (F32)childGetValue("teleport_coordinate_z").asReal();
+ S32 x_coord = (S32)childGetValue("teleport_coordinate_x").asReal();
+ S32 y_coord = (S32)childGetValue("teleport_coordinate_y").asReal();
+ S32 z_coord = (S32)childGetValue("teleport_coordinate_z").asReal();
const std::string region_name = childGetValue("location").asString();