diff options
author | Stijn Buys <ingar@osirion.org> | 2010-11-13 19:44:47 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2010-11-13 19:44:47 +0000 |
commit | c11d6ab431af85e14790ef2c2ed52cb5b523fbaf (patch) | |
tree | a989e95c311c2e592917da7083af1ff3a8607fbe /src | |
parent | 8506f3a8af135c55fdf9adae2859dfa210a2aa0f (diff) |
set ship entity info
Diffstat (limited to 'src')
-rw-r--r-- | src/game/base/shipmodel.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/game/base/shipmodel.cc b/src/game/base/shipmodel.cc index 412fd14..dcea80c 100644 --- a/src/game/base/shipmodel.cc +++ b/src/game/base/shipmodel.cc @@ -356,7 +356,9 @@ void ShipModel::apply(core::Entity *entity) const entity->set_modelname(modelname()); if (radius()) - entity->set_radius(radius()); + entity->set_radius(radius()); + + entity->set_info(this); } void ShipModel::apply(Ship *ship) const |