Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
path: root/src/game
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2010-11-13 19:44:47 +0000
committerStijn Buys <ingar@osirion.org>2010-11-13 19:44:47 +0000
commitc11d6ab431af85e14790ef2c2ed52cb5b523fbaf (patch)
treea989e95c311c2e592917da7083af1ff3a8607fbe /src/game
parent8506f3a8af135c55fdf9adae2859dfa210a2aa0f (diff)
set ship entity info
Diffstat (limited to 'src/game')
-rw-r--r--src/game/base/shipmodel.cc4
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