summaryrefslogtreecommitdiff
path: root/indra/newview/llnetmap.cpp
diff options
context:
space:
mode:
authorMnikolenko Productengine <mnikolenko@productengine.com>2022-02-21 16:07:58 +0200
committerMnikolenko Productengine <mnikolenko@productengine.com>2022-02-21 16:07:58 +0200
commit9f10853c03293f845d9a17adcf8de7ea23a0a778 (patch)
tree8175482fb6beca29c1581f9de636fd3c38a416b6 /indra/newview/llnetmap.cpp
parent1461e4d437996784cc8afe5d4b3bfa873d3dbfa1 (diff)
SL-16887 FIXED Crash in LLNetMap::draw
Diffstat (limited to 'indra/newview/llnetmap.cpp')
-rw-r--r--indra/newview/llnetmap.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llnetmap.cpp b/indra/newview/llnetmap.cpp
index 937f36b6fc..1240ce7c0f 100644
--- a/indra/newview/llnetmap.cpp
+++ b/indra/newview/llnetmap.cpp
@@ -147,6 +147,10 @@ void LLNetMap::setScale( F32 scale )
void LLNetMap::draw()
{
+ if (!LLWorld::instanceExists())
+ {
+ return;
+ }
LL_PROFILE_ZONE_SCOPED;
static LLFrameTimer map_timer;
static LLUIColor map_avatar_color = LLUIColorTable::instance().getColor("MapAvatarColor", LLColor4::white);