diff options
author | Stijn Buys <ingar@osirion.org> | 2009-07-01 20:16:33 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2009-07-01 20:16:33 +0000 |
commit | b11b8c90c698d014bf8c2c2a9ed696255470ae59 (patch) | |
tree | 290c6b69d662b3ac41d3bf0f1f1ffca293dddd1b | |
parent | 024532b748b15a92303fd20c3b6a7062a37ca2ed (diff) |
add player assets to the client side player list
-rw-r--r-- | src/core/entity.cc | 2 |
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; + } } |