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>2010-09-18 13:25:37 +0000
committerStijn Buys <ingar@osirion.org>2010-09-18 13:25:37 +0000
commitfc4809e41bc5694231046eb2fd4c324c4daba13f (patch)
tree02f183a0779aa0457e13f42037f3631ea28b7b65 /src/game/base/shipmodel.cc
parent8c6a1a404ac8d1589a37d54b3b7ce0d776fe4751 (diff)
cosmetic updates in engine list functions, trade menu updates
Diffstat (limited to 'src/game/base/shipmodel.cc')
-rw-r--r--src/game/base/shipmodel.cc8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/game/base/shipmodel.cc b/src/game/base/shipmodel.cc
index ee2e647..1dc8ba1 100644
--- a/src/game/base/shipmodel.cc
+++ b/src/game/base/shipmodel.cc
@@ -36,7 +36,9 @@ void ShipModel::generate_info()
{
//clear_text();
- add_text("");
+ if (text().size())
+ add_text("");
+
add_text("^BSpecifications:^N");
std::stringstream str;
str << "price: ^B" << price() << " ^Ncredits";
@@ -60,11 +62,11 @@ void ShipModel::generate_info()
str.str("");
if (jumpdrive()) {
- add_text("hyperspace jump drive capable");
+ add_text("^Bhyperspace jump drive");
}
if (dock()) {
- add_text("docking capable");
+ add_text("^Bdockable");
}
}