summaryrefslogtreecommitdiff
path: root/indra/newview/lltracker.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/lltracker.cpp
parent1461e4d437996784cc8afe5d4b3bfa873d3dbfa1 (diff)
SL-16887 FIXED Crash in LLNetMap::draw
Diffstat (limited to 'indra/newview/lltracker.cpp')
-rw-r--r--indra/newview/lltracker.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/indra/newview/lltracker.cpp b/indra/newview/lltracker.cpp
index 728d0c9417..320554c39e 100644
--- a/indra/newview/lltracker.cpp
+++ b/indra/newview/lltracker.cpp
@@ -109,7 +109,12 @@ void LLTracker::stopTracking(bool clear_ui)
// static virtual
void LLTracker::drawHUDArrow()
{
- if (!gSavedSettings.getBOOL("RenderTrackerBeacon")) return;
+ if (!LLWorld::instanceExists())
+ {
+ return;
+ }
+
+ if (!gSavedSettings.getBOOL("RenderTrackerBeacon")) return;
if (gViewerWindow->getProgressView()->getVisible()) return;