diff options
Diffstat (limited to '')
-rw-r--r-- | source/Chunk.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/Chunk.cpp b/source/Chunk.cpp index c8cceb6ed..72313fa08 100644 --- a/source/Chunk.cpp +++ b/source/Chunk.cpp @@ -1565,17 +1565,21 @@ void cChunk::CollectPickupsByPlayer(cPlayer * a_Player) float SqrDist = DiffX * DiffX + DiffY * DiffY + DiffZ * DiffZ; if (SqrDist < 1.5f * 1.5f) // 1.5 block { + /* LOG("Pickup %d being collected by player \"%s\", distance %f", (*itr)->GetUniqueID(), a_Player->GetName().c_str(), SqrDist ); + */ MarkDirty(); (reinterpret_cast<cPickup *>(*itr))->CollectedBy( a_Player ); } else if (SqrDist < 5 * 5) { + /* LOG("Pickup %d close to player \"%s\", but still too far to collect: %f", (*itr)->GetUniqueID(), a_Player->GetName().c_str(), SqrDist ); + */ } } } |