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>2008-06-01 13:03:45 +0000
committerStijn Buys <ingar@osirion.org>2008-06-01 13:03:45 +0000
commit190cede795ac4c7fcd6865a6c2083b5ce53a154a (patch)
treef1d05ebec665b0fb66ef2448a81ab2ed718ee279 /src/game/ship.cc
parent2a41efa0d43b573e1c8851086268b8a64d51c511 (diff)
entity and shipmodel labels, fixes sort order of shipmodels
Diffstat (limited to 'src/game/ship.cc')
-rw-r--r--src/game/ship.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/ship.cc b/src/game/ship.cc
index bf71215..66d8b52 100644
--- a/src/game/ship.cc
+++ b/src/game/ship.cc
@@ -22,6 +22,7 @@ Ship::Ship(core::Player *owner, ShipModel *shipmodel) :
{
entity_modelname = "ships/" + shipmodel->modelname();
entity_name = shipmodel->name() + ": <^B" + owner->name() + "^N>";
+ entity_label = shipmodel->label();
ship_shipmodel = shipmodel;
entity_moduletypeid = ship_enttype;