summaryrefslogtreecommitdiffstats
path: root/source/Chunk.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/Chunk.cpp')
-rw-r--r--source/Chunk.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/Chunk.cpp b/source/Chunk.cpp
index c33ba3608..60ec273be 100644
--- a/source/Chunk.cpp
+++ b/source/Chunk.cpp
@@ -2592,7 +2592,7 @@ void cChunk::BroadcastEntityStatus(const cEntity & a_Entity, char a_Status, cons
-void cChunk::BroadcastMetadata(const cPawn & a_Pawn, const cClientHandle * a_Exclude)
+void cChunk::BroadcastMetadata(const cEntity & a_Entity, const cClientHandle * a_Exclude)
{
for (cClientHandleList::const_iterator itr = m_LoadedByClient.begin(); itr != m_LoadedByClient.end(); ++itr )
{
@@ -2600,7 +2600,7 @@ void cChunk::BroadcastMetadata(const cPawn & a_Pawn, const cClientHandle * a_Exc
{
continue;
}
- (*itr)->SendMetadata(a_Pawn);
+ (*itr)->SendMetadata(a_Entity);
} // for itr - LoadedByClient[]
}