Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
path: root/src/game
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2010-09-26 16:03:39 +0000
committerStijn Buys <ingar@osirion.org>2010-09-26 16:03:39 +0000
commita80e501a0a8006034a7dc0cda1fc047f6c37fbd9 (patch)
treebee8d3c90694c9493ca5a2400f7e10e9dd87d561 /src/game
parent765927f9f0e9ca751e1d94bd86aaf47200dcdb81 (diff)
show the correct amount of ships loaded into a station inventory
Diffstat (limited to 'src/game')
-rw-r--r--src/game/base/game.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/base/game.cc b/src/game/base/game.cc
index fcecf58..7cdc066 100644
--- a/src/game/base/game.cc
+++ b/src/game/base/game.cc
@@ -1065,7 +1065,7 @@ bool Game::generate_entity_menus(core::Entity *entity)
}
if (nbships > 0) {
- con_debug << " " << entity->label() << " " << nbcargo << " ship " << aux::plural("type", nbcargo) << std::endl;
+ con_debug << " " << entity->label() << " " << nbships << " ship " << aux::plural("type", nbships) << std::endl;
button = new ButtonDescription();
button->set_text("Return");
button->set_command("main", ButtonDescription::CommandMenu);