From a80e501a0a8006034a7dc0cda1fc047f6c37fbd9 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sun, 26 Sep 2010 16:03:39 +0000 Subject: show the correct amount of ships loaded into a station inventory --- src/game/base/game.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3