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>2014-12-13 20:21:10 +0000
committerStijn Buys <ingar@osirion.org>2014-12-13 20:21:10 +0000
commit1876f0f3fda9d0dc4c198416950fa6bf25378626 (patch)
tree3e13c37a839ac7e76c05b820e38b5032f22e9ad3 /src/game/base/shipmodel.cc
parent300db69911bec3a17f9fb695d09be3d9830e3648 (diff)
Added repair engine function and the ability to repair ships at bases.
Diffstat (limited to 'src/game/base/shipmodel.cc')
-rw-r--r--src/game/base/shipmodel.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/base/shipmodel.cc b/src/game/base/shipmodel.cc
index 1edd9d2..9489c91 100644
--- a/src/game/base/shipmodel.cc
+++ b/src/game/base/shipmodel.cc
@@ -355,7 +355,7 @@ void ShipModel::buy(core::EntityControlable *buyer, core::Entity *seller, bool c
// needs confirmation
if (!confirm) {
std::ostringstream ostrtxt;
- ostrtxt << "Buy a " << name() << " for " << price() -refund << " credits?";
+ ostrtxt << "Buy " << aux::article(name()) << " for " << price() - refund << " credits?";
std::ostringstream ostrcmd;
ostrcmd << "buy " << seller_item->id() << " 1 confirm";