From cd9ad2786e0e4b0f0448363252d4b010dfe6515c Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Thu, 7 Nov 2013 17:52:49 +0000 Subject: Use a different off-screen HUD icon to indicate player controled ships. --- src/client/hud.cc | 8 ++++---- 1 file 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) { -- cgit v1.2.3