summaryrefslogtreecommitdiffstats
path: root/src/World.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/World.h')
-rw-r--r--src/World.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/World.h b/src/World.h
index cdfd1510a..bf6a4ba28 100644
--- a/src/World.h
+++ b/src/World.h
@@ -186,9 +186,9 @@ public:
virtual void BroadcastUseBed (const cEntity & a_Entity, int a_BlockX, int a_BlockY, int a_BlockZ );
void BroadcastWeather (eWeather a_Weather, const cClientHandle * a_Exclude = NULL);
- virtual cBroadcastInterface * GetBroadcastManager()
+ virtual cBroadcastInterface & GetBroadcastManager()
{
- return this;
+ return *this;
}
/** If there is a block entity at the specified coords, sends it to the client specified */