summaryrefslogtreecommitdiffhomepage
path: root/View.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'View.cpp')
-rw-r--r--View.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/View.cpp b/View.cpp
index 3360808..dc36cce 100644
--- a/View.cpp
+++ b/View.cpp
@@ -66,7 +66,7 @@ View::update(const float dt)
const auto length = dist(pos, base);
const bool hover = 8.0f > dist(mouse, pos);
m_labels.push_back(
- Label{pos, base, depth, length, hover, std::ref(wreck), app.icons.find(wreck.killmail.ship)});
+ Label{pos, base, depth, length, hover, std::ref(wreck), app.icons.find(wreck.killmail.group)});
}
std::sort(m_labels.begin(), m_labels.end(), [](auto& a, auto& b){ return a.depth > b.depth; });
m_active = nullptr;