]> git.localhorst.tv Git - blank.git/blobdiff - src/client/client.cpp
removed client de-/spawn messages
[blank.git] / src / client / client.cpp
index 26e0e0df748c64cd70f0807ae00e90b4bb7d1dbf..1cbf11ef86e679c6b3cdbc314a42e7cbe4d9f0f0 100644 (file)
@@ -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;
                }
        }