From b11b8c90c698d014bf8c2c2a9ed696255470ae59 Mon Sep 17 00:00:00 2001
From: Stijn Buys <ingar@osirion.org>
Date: Wed, 1 Jul 2009 20:16:33 +0000
Subject: add player assets to the client side player list

---
 src/core/entity.cc | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'src/core')

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;
+				
 			}
 		}
 
-- 
cgit v1.2.3