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-12-27 10:44:43 +0000
committerStijn Buys <ingar@osirion.org>2008-12-27 10:44:43 +0000
commitc88a565a23d1779795ebee7a2cba014b2d3ff9f3 (patch)
tree38d6ad916535b286120fbd41848ae08b0a452906
parent5eb85209c11c149b9538cea37e5e9ba461a2a7cc (diff)
Fixes empty buy help string bug
-rw-r--r--src/game/base/shipdealer.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/game/base/shipdealer.cc b/src/game/base/shipdealer.cc
index c1d3b10..83bc0dc 100644
--- a/src/game/base/shipdealer.cc
+++ b/src/game/base/shipdealer.cc
@@ -87,10 +87,9 @@ void ShipDealer::func_buy(core::Player *player, const std::string &args)
if (helpstr.size())
helpstr.append("^N|^B");
helpstr.append((*smit).second->label());
-
- player->send("Usage: buy [^B" + helpstr + "^N]");
- return;
}
+ player->send("Usage: buy [^B" + helpstr + "^N]");
+ return;
}
// find the ship dealer we're buying the ship from