Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/base')
-rw-r--r--src/game/base/ship.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/game/base/ship.cc b/src/game/base/ship.cc
index 15b995c..cc583d9 100644
--- a/src/game/base/ship.cc
+++ b/src/game/base/ship.cc
@@ -113,6 +113,12 @@ Ship::Ship(core::Player *owner, const ShipModel *shipmodel) : core::EntityContro
add_menu(menu_main);
ButtonDescription *button = new ButtonDescription();
+ button->set_text("Repair");
+ button->set_command("repair confirm", ButtonDescription::CommandGame);
+ button->set_alignment(ButtonDescription::Center);
+ menu_main->add_button(button);
+
+ button = new ButtonDescription();
button->set_text("Launch");
button->set_command("launch", ButtonDescription::CommandGame);
button->set_alignment(ButtonDescription::Center);