Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/base/ship.cc')
-rw-r--r--src/game/base/ship.cc7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/game/base/ship.cc b/src/game/base/ship.cc
index c48bf7a..edfc949 100644
--- a/src/game/base/ship.cc
+++ b/src/game/base/ship.cc
@@ -27,8 +27,11 @@ Ship::Ship(core::Player *owner, ShipModel *shipmodel) :
core::EntityControlable(owner, ship_enttype)
{
set_modelname(shipmodel->modelname());
- set_name(shipmodel->name() + ": <^B" + owner->name() + "^N>");
- set_label(shipmodel->label());
+ set_name(shipmodel->name());
+
+ std::string str(aux::text_strip(owner->name()));
+ aux::to_label(str);
+ set_label(str);
entity_moduletypeid = ship_enttype;