summaryrefslogtreecommitdiffstats
path: root/src/Simulator/Simulator.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@outlook.com>2020-08-01 12:25:06 +0200
committerTiger Wang <ziwei.tiger@outlook.com>2020-08-04 19:15:18 +0200
commitc3d6afe47e8e50f9b029caf012c69d1e6ee4e76a (patch)
tree26ac0ff00942aef4deafdc2048f8c14a168f4f93 /src/Simulator/Simulator.h
parentOnBroken/OnPlaced are for entity actions (diff)
downloadcuberite-c3d6afe47e8e50f9b029caf012c69d1e6ee4e76a.tar
cuberite-c3d6afe47e8e50f9b029caf012c69d1e6ee4e76a.tar.gz
cuberite-c3d6afe47e8e50f9b029caf012c69d1e6ee4e76a.tar.bz2
cuberite-c3d6afe47e8e50f9b029caf012c69d1e6ee4e76a.tar.lz
cuberite-c3d6afe47e8e50f9b029caf012c69d1e6ee4e76a.tar.xz
cuberite-c3d6afe47e8e50f9b029caf012c69d1e6ee4e76a.tar.zst
cuberite-c3d6afe47e8e50f9b029caf012c69d1e6ee4e76a.zip
Diffstat (limited to 'src/Simulator/Simulator.h')
-rw-r--r--src/Simulator/Simulator.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Simulator/Simulator.h b/src/Simulator/Simulator.h
index f82b579cb..e18465bee 100644
--- a/src/Simulator/Simulator.h
+++ b/src/Simulator/Simulator.h
@@ -28,7 +28,7 @@ public:
virtual ~cSimulator() {}
// Contains our direct adjacents
- inline static std::array<Vector3i, 6> AdjacentOffsets
+ static constexpr std::array<Vector3i, 6> AdjacentOffsets
{
{
{ 1, 0, 0 },