Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/base')
-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