aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llmessage/llregionhandle.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/llmessage/llregionhandle.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/linden/indra/llmessage/llregionhandle.h b/linden/indra/llmessage/llregionhandle.h
index ac7fb14..7e62e96 100644
--- a/linden/indra/llmessage/llregionhandle.h
+++ b/linden/indra/llmessage/llregionhandle.h
@@ -115,7 +115,7 @@ inline LLVector3d from_region_handle(const U64 &region_handle)
115 115
116// grid-based region handle encoding. pass in a grid position 116// grid-based region handle encoding. pass in a grid position
117// (eg: 1000,1000) and this will return the region handle. 117// (eg: 1000,1000) and this will return the region handle.
118inline U64 grid_to_region_handle(U32 grid_x, U32 grid_y) 118inline U64 grid_to_region_handle(const U32 grid_x, const U32 grid_y)
119{ 119{
120 return to_region_handle(grid_x * REGION_WIDTH_UNITS, 120 return to_region_handle(grid_x * REGION_WIDTH_UNITS,
121 grid_y * REGION_WIDTH_UNITS); 121 grid_y * REGION_WIDTH_UNITS);