summaryrefslogtreecommitdiffstats
path: root/src/BlockEntities/BeaconEntity.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-04-19 13:05:58 +0200
committermadmaxoft <github@xoft.cz>2014-04-19 13:05:58 +0200
commit6eac5867945044eda62312f9657ff0c808ac2080 (patch)
treea7028618f1d9d5c5c1cc24edc0bdf8d44d0fcbb6 /src/BlockEntities/BeaconEntity.cpp
parentMerge remote-tracking branch 'origin/Beacons' (diff)
downloadcuberite-6eac5867945044eda62312f9657ff0c808ac2080.tar
cuberite-6eac5867945044eda62312f9657ff0c808ac2080.tar.gz
cuberite-6eac5867945044eda62312f9657ff0c808ac2080.tar.bz2
cuberite-6eac5867945044eda62312f9657ff0c808ac2080.tar.lz
cuberite-6eac5867945044eda62312f9657ff0c808ac2080.tar.xz
cuberite-6eac5867945044eda62312f9657ff0c808ac2080.tar.zst
cuberite-6eac5867945044eda62312f9657ff0c808ac2080.zip
Diffstat (limited to '')
-rw-r--r--src/BlockEntities/BeaconEntity.cpp17
1 files changed, 9 insertions, 8 deletions
diff --git a/src/BlockEntities/BeaconEntity.cpp b/src/BlockEntities/BeaconEntity.cpp
index dd340f24f..0914353eb 100644
--- a/src/BlockEntities/BeaconEntity.cpp
+++ b/src/BlockEntities/BeaconEntity.cpp
@@ -17,7 +17,7 @@ cBeaconEntity::cBeaconEntity(int a_BlockX, int a_BlockY, int a_BlockZ, cWorld *
-int cBeaconEntity::GetPyramidLevel()
+int cBeaconEntity::GetPyramidLevel(void)
{
cBlockArea Area;
int MinY = GetPosY() - 4;
@@ -33,12 +33,9 @@ int cBeaconEntity::GetPyramidLevel()
Area.Read(
m_World,
- GetPosX() - 4,
- GetPosX() + 4,
- MinY,
- MaxY,
- GetPosZ() - 4,
- GetPosZ() + 4,
+ GetPosX() - 4, GetPosX() + 4,
+ MinY, MaxY,
+ GetPosZ() - 4, GetPosZ() + 4,
cBlockArea::baTypes
);
@@ -112,4 +109,8 @@ void cBeaconEntity::SendTo(cClientHandle & a_Client)
void cBeaconEntity::UsedBy(cPlayer * a_Player)
{
-} \ No newline at end of file
+}
+
+
+
+