X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;ds=sidebyside;f=src%2Fclient%2Fclient.cpp;h=7dac3ad0991a2438350a0f15c755370ab42da786;hb=8ab4ea13545cccbacbd1ed610968d3f481c1b3c8;hp=52bc0a9eea97ab729e7e2e62612b6ab8142fba2a;hpb=b050d119839ef95e7275c6c6cd21ee497dbf2a2a;p=blank.git diff --git a/src/client/client.cpp b/src/client/client.cpp index 52bc0a9..7dac3ad 100644 --- a/src/client/client.cpp +++ b/src/client/client.cpp @@ -396,7 +396,8 @@ void MasterState::On(const Packet::SpawnEntity &pack) { if (skel) { skel->Instantiate(entity.GetModel()); } - cout << "spawned entity " << entity.Name() << " at " << entity.AbsolutePosition() << endl; + cout << "spawned entity #" << entity_id << " (" << entity.Name() + << ") at " << entity.AbsolutePosition() << endl; } void MasterState::On(const Packet::DespawnEntity &pack) { @@ -411,7 +412,7 @@ void MasterState::On(const Packet::DespawnEntity &pack) { for (Entity &entity : state->GetWorld().Entities()) { if (entity.ID() == entity_id) { entity.Kill(); - cout << "despawned entity " << entity.Name() << " at " << entity.AbsolutePosition() << endl; + cout << "despawned entity #" << entity_id << " (" << entity.Name() << ") at " << entity.AbsolutePosition() << endl; return; } }