summaryrefslogtreecommitdiffstats
path: root/src/BlockEntities/BeaconEntity.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-11-27 22:42:08 +0100
committerMattes D <github@xoft.cz>2014-11-27 22:42:08 +0100
commita6ed5cb1d8edc3c2e0804df9345094c89965af4b (patch)
tree63b36135f6806b72ecc5a0afe3dc7e7ca0fa94a2 /src/BlockEntities/BeaconEntity.cpp
parentReplaced auto_ptr with unique_ptr. (diff)
downloadcuberite-a6ed5cb1d8edc3c2e0804df9345094c89965af4b.tar
cuberite-a6ed5cb1d8edc3c2e0804df9345094c89965af4b.tar.gz
cuberite-a6ed5cb1d8edc3c2e0804df9345094c89965af4b.tar.bz2
cuberite-a6ed5cb1d8edc3c2e0804df9345094c89965af4b.tar.lz
cuberite-a6ed5cb1d8edc3c2e0804df9345094c89965af4b.tar.xz
cuberite-a6ed5cb1d8edc3c2e0804df9345094c89965af4b.tar.zst
cuberite-a6ed5cb1d8edc3c2e0804df9345094c89965af4b.zip
Diffstat (limited to '')
-rw-r--r--src/BlockEntities/BeaconEntity.cpp19
1 files changed, 10 insertions, 9 deletions
diff --git a/src/BlockEntities/BeaconEntity.cpp b/src/BlockEntities/BeaconEntity.cpp
index 85819446c..409f2937c 100644
--- a/src/BlockEntities/BeaconEntity.cpp
+++ b/src/BlockEntities/BeaconEntity.cpp
@@ -247,15 +247,16 @@ void cBeaconEntity::GiveEffects(void)
}
public:
- cPlayerCallback(int a_Radius, int a_PosX, int a_PosY, int a_PosZ, cEntityEffect::eType a_PrimaryEffect, cEntityEffect::eType a_SecondaryEffect, short a_EffectLevel)
- : m_Radius(a_Radius)
- , m_PosX(a_PosX)
- , m_PosY(a_PosY)
- , m_PosZ(a_PosZ)
- , m_PrimaryEffect(a_PrimaryEffect)
- , m_SecondaryEffect(a_SecondaryEffect)
- , m_EffectLevel(a_EffectLevel)
- {};
+ cPlayerCallback(int a_Radius, int a_PosX, int a_PosY, int a_PosZ, cEntityEffect::eType a_PrimaryEffect, cEntityEffect::eType a_SecondaryEffect, short a_EffectLevel):
+ m_Radius(a_Radius),
+ m_PosX(a_PosX),
+ m_PosY(a_PosY),
+ m_PosZ(a_PosZ),
+ m_PrimaryEffect(a_PrimaryEffect),
+ m_SecondaryEffect(a_SecondaryEffect),
+ m_EffectLevel(a_EffectLevel)
+ {
+ }
} PlayerCallback(Radius, m_PosX, m_PosY, m_PosZ, m_PrimaryEffect, SecondaryEffect, EffectLevel);
GetWorld()->ForEachPlayer(PlayerCallback);