diff options
author | Don Kjer <don@lindenlab.com> | 2012-08-17 03:56:38 +0000 |
---|---|---|
committer | Don Kjer <don@lindenlab.com> | 2012-08-17 03:56:38 +0000 |
commit | 64d9705ae21c42f4c7869a414e250c5de251b143 (patch) | |
tree | a8bd5946907cb65be0550a3f4529331fa94b933a /indra/newview/llviewermessage.cpp | |
parent | 7ac0d2b8a31174b3d8872ec8ed5ed64c3d0bc7ed (diff) |
Expanding region flags to 64 bits. Adding region protocol flags
Diffstat (limited to 'indra/newview/llviewermessage.cpp')
-rwxr-xr-x | indra/newview/llviewermessage.cpp | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/indra/newview/llviewermessage.cpp b/indra/newview/llviewermessage.cpp index 903f4437a7..f399275c94 100755 --- a/indra/newview/llviewermessage.cpp +++ b/indra/newview/llviewermessage.cpp @@ -4900,9 +4900,19 @@ void process_sim_stats(LLMessageSystem *msg, void **user_data) // Various hacks that aren't statistics, but are being handled here. // U32 max_tasks_per_region; - U32 region_flags; + U64 region_flags; msg->getU32("Region", "ObjectCapacity", max_tasks_per_region); - msg->getU32("Region", "RegionFlags", region_flags); + + if (msg->has(_PREHASH_RegionInfo)) + { + msg->getU64("RegionInfo", "RegionFlagsExtended", region_flags); + } + else + { + U32 flags = 0; + msg->getU32("Region", "RegionFlags", flags); + region_flags = flags; + } LLViewerRegion* regionp = gAgent.getRegion(); if (regionp) |