Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2009-01-25 11:59:24 +0000
committerStijn Buys <ingar@osirion.org>2009-01-25 11:59:24 +0000
commitafb56bf384bbc585f242978b6b5366c474c5c7f7 (patch)
tree9f2d7e006b30ea0be8ebc9f15253b493ef65192f /src/game/base/ship.cc
parent443a8dc2b49be6e1fa668f43a12bf5f886a1bdcd (diff)
make a player pay for ships,
add prize money to the race
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;