Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/entity.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/entity.cc b/src/core/entity.cc
index 731b13b..24451e6 100644
--- a/src/core/entity.cc
+++ b/src/core/entity.cc
@@ -566,7 +566,9 @@ void EntityControlable::receive_server_create(std::istream &is)
for (GameInterface::Players::iterator pit = game()->players().begin(); pit != game()->players().end(); pit++ ) {
Player *player = (*pit);
if (player->id() == owner_id) {
+ player->add_asset(this);
entity_owner = player;
+
}
}