summaryrefslogtreecommitdiffstats
path: root/src/World.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/World.cpp')
-rw-r--r--src/World.cpp13
1 files changed, 11 insertions, 2 deletions
diff --git a/src/World.cpp b/src/World.cpp
index e42e55825..d05f90365 100644
--- a/src/World.cpp
+++ b/src/World.cpp
@@ -2263,9 +2263,9 @@ bool cWorld::TryGetHeight(int a_BlockX, int a_BlockZ, int & a_Height)
-void cWorld::BroadcastAttachEntity(const cEntity & a_Entity, const cEntity * a_Vehicle)
+void cWorld::BroadcastAttachEntity(const cEntity & a_Entity, const cEntity & a_Vehicle)
{
- return m_ChunkMap->BroadcastAttachEntity(a_Entity, a_Vehicle);
+ m_ChunkMap->BroadcastAttachEntity(a_Entity, a_Vehicle);
}
@@ -2353,6 +2353,15 @@ void cWorld::BroadcastDestroyEntity(const cEntity & a_Entity, const cClientHandl
+void cWorld::BroadcastDetachEntity(const cEntity & a_Entity, const cEntity & a_PreviousVehicle)
+{
+ m_ChunkMap->BroadcastDetachEntity(a_Entity, a_PreviousVehicle);
+}
+
+
+
+
+
void cWorld::BroadcastEntityEffect(const cEntity & a_Entity, int a_EffectID, int a_Amplifier, short a_Duration, const cClientHandle * a_Exclude)
{
m_ChunkMap->BroadcastEntityEffect(a_Entity, a_EffectID, a_Amplifier, a_Duration, a_Exclude);