From c11d6ab431af85e14790ef2c2ed52cb5b523fbaf Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sat, 13 Nov 2010 19:44:47 +0000 Subject: set ship entity info --- src/game/base/shipmodel.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/game/base') 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 -- cgit v1.2.3