diff options
author | Stijn Buys <ingar@osirion.org> | 2008-12-07 09:03:10 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-12-07 09:03:10 +0000 |
commit | 7de62efc14d0e0f037051bd887c96f28fd9a3215 (patch) | |
tree | c3e792bc7feaaa73d69eb417d2b2424195206818 /src/game/base | |
parent | 94a368b734911abe5cab7c61a23e8c225354df85 (diff) |
add system map,
prepare source tree for dataset reorganization
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()); |