From: Daniel Karbach Date: Mon, 26 Oct 2015 16:28:03 +0000 (+0100) Subject: removed client de-/spawn messages X-Git-Url: http://git.localhorst.tv/?a=commitdiff_plain;h=51fda2c924eaa28082adeb875f93d4715f881b15;p=blank.git removed client de-/spawn messages --- diff --git a/src/client/client.cpp b/src/client/client.cpp index 26e0e0d..1cbf11e 100644 --- a/src/client/client.cpp +++ b/src/client/client.cpp @@ -196,8 +196,6 @@ void InteractiveState::Handle(const Packet::SpawnEntity &pack) { if (model_id > 0 && model_id <= res.models.size()) { res.models.Get(model_id).Instantiate(entity.GetModel()); } - cout << "spawned entity #" << entity_id << " (" << entity.Name() - << ") at " << entity.AbsolutePosition() << endl; } void InteractiveState::Handle(const Packet::DespawnEntity &pack) { @@ -207,7 +205,6 @@ void InteractiveState::Handle(const Packet::DespawnEntity &pack) { for (Entity &entity : world.Entities()) { if (entity.ID() == entity_id) { entity.Kill(); - cout << "despawned entity #" << entity_id << " (" << entity.Name() << ") at " << entity.AbsolutePosition() << endl; return; } }