summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorAimee Linden <aimee@lindenlab.com>2010-09-01 15:05:24 +0100
committerAimee Linden <aimee@lindenlab.com>2010-09-01 15:05:24 +0100
commit711ccfa57f5feb526bea6d3cea8d41a7079179b0 (patch)
treed18fe7f76e35d05bade9f74899069357f534d054 /indra
parenta330399082b06ff8d5cbaa3a6f53d7ed748571ef (diff)
VWR-13221 (SNOW-188) SUPPLEMENTARY Allow panning of the minimap
Fix Linux build.
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llnetmap.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llnetmap.cpp b/indra/newview/llnetmap.cpp
index 031656f7f8..6db8001d57 100644
--- a/indra/newview/llnetmap.cpp
+++ b/indra/newview/llnetmap.cpp
@@ -269,7 +269,7 @@ void LLNetMap::draw()
new_center.mV[VX] -= mCurPan.mV[VX];
new_center.mV[VY] -= mCurPan.mV[VY];
new_center.mV[VZ] = 0.f;
- mObjectImageCenterGlobal = viewPosToGlobal(new_center.mV[VX], new_center.mV[VY]);
+ mObjectImageCenterGlobal = viewPosToGlobal(llfloor(new_center.mV[VX]), llfloor(new_center.mV[VY]));
// Create the base texture.
U8 *default_texture = mObjectRawImagep->getData();