Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2013-11-07 17:52:49 +0000
committerStijn Buys <ingar@osirion.org>2013-11-07 17:52:49 +0000
commitcd9ad2786e0e4b0f0448363252d4b010dfe6515c (patch)
treef99ba5af8d70a83e4c849098cde0a764cd759fda /src
parent703822461023cf09b2e0efa4a1e7a60f47afe602 (diff)
Use a different off-screen HUD icon to indicate player controled ships.
Diffstat (limited to 'src')
-rw-r--r--src/client/hud.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/client/hud.cc b/src/client/hud.cc
index 0a02fee..1b2ddd8 100644
--- a/src/client/hud.cc
+++ b/src/client/hud.cc
@@ -139,9 +139,9 @@ void HUD::draw_offscreen_target(core::Entity *entity, bool is_active_target)
std:: string bitmap_material("bitmaps/hud/offscreen_default");
if (controlable) {
- //if (controlable->owner()) {
- // bitmap_material.assign("bitmaps/hud/offscreen_controlable");
- //}
+ if (controlable->owner()) {
+ bitmap_material.assign("bitmaps/hud/offscreen_controlable");
+ }
// reputation color
if (reputation > 50.0f) {
@@ -153,7 +153,7 @@ void HUD::draw_offscreen_target(core::Entity *entity, bool is_active_target)
}
} else if (entity->has_flag(core::Entity::Dockable)) {
- //bitmap_material.assign("bitmaps/hud/offscreen_dockable");
+ bitmap_material.assign("bitmaps/hud/offscreen_dockable");
// reputation color
if (reputation > 50.0f) {