diff options
Diffstat (limited to 'src/game/base')
-rw-r--r-- | src/game/base/game.cc | 2 | ||||
-rw-r--r-- | src/game/base/ship.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/game/base/game.cc b/src/game/base/game.cc index 50ec416..48e1b05 100644 --- a/src/game/base/game.cc +++ b/src/game/base/game.cc @@ -684,7 +684,7 @@ bool Game::load_menus(core::Entity *entity, const std::string &menufilename) button = new ButtonDescription(); button->set_text("buy " + model->name()); button->set_command("buy " + model->label()); - button->set_modelname("ships/" + model->modelname()); + button->set_modelname(model->modelname()); button->set_alignment(ButtonDescription::Left); menu_dealer->add_button(button); } diff --git a/src/game/base/ship.cc b/src/game/base/ship.cc index 3071bb7..7735aa1 100644 --- a/src/game/base/ship.cc +++ b/src/game/base/ship.cc @@ -26,7 +26,7 @@ const float MIN_DELTA = 0.000001f; Ship::Ship(core::Player *owner, ShipModel *shipmodel) : core::EntityControlable(owner, ship_enttype) { - set_modelname("ships/" + shipmodel->modelname()); + set_modelname(shipmodel->modelname()); set_name(shipmodel->name() + ": <^B" + owner->name() + "^N>"); set_label(shipmodel->label()); |