diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2022-07-22 03:03:00 +0300 |
---|---|---|
committer | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2022-07-22 03:11:18 +0300 |
commit | 25900c179cdc963cab207ec821a739a196cf1d29 (patch) | |
tree | a1ee89767d6fd8645036cca8d28e34871cf1a708 /indra/newview/llviewerparceloverlay.h | |
parent | 16fe16f3637d111da7885ae26f663d96320944c4 (diff) |
SL-17815 Crash at parcelLineFlags
Col ended up negative
Diffstat (limited to 'indra/newview/llviewerparceloverlay.h')
-rw-r--r-- | indra/newview/llviewerparceloverlay.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/llviewerparceloverlay.h b/indra/newview/llviewerparceloverlay.h index 053f69ba4c..c466cc3b6b 100644 --- a/indra/newview/llviewerparceloverlay.h +++ b/indra/newview/llviewerparceloverlay.h @@ -88,7 +88,9 @@ private: // This is in parcel rows and columns, not grid rows and columns // Stored in bottom three bits. U8 ownership(S32 row, S32 col) const - { return 0x7 & mOwnership[row * mParcelGridsPerEdge + col]; } + { return parcelFlags(row, col, (U8)0x7); } + + U8 parcelFlags(S32 row, S32 col, U8 flags) const; void addPropertyLine(std::vector<LLVector3>& vertex_array, std::vector<LLColor4U>& color_array, |