summaryrefslogtreecommitdiffstats
path: root/src/Simulator/RedstoneSimulator.cpp
diff options
context:
space:
mode:
authorTycho <work.tycho+git@gmail.com>2014-02-05 18:43:49 +0100
committerTycho <work.tycho+git@gmail.com>2014-02-05 18:43:49 +0100
commit8ba6f731699465aa13818e307af7b9f001d3767e (patch)
treebb24c8cc1e076b7cc8457dc4a639726b5df1515b /src/Simulator/RedstoneSimulator.cpp
parentFix gcc not having operator ++ on enums (diff)
downloadcuberite-8ba6f731699465aa13818e307af7b9f001d3767e.tar
cuberite-8ba6f731699465aa13818e307af7b9f001d3767e.tar.gz
cuberite-8ba6f731699465aa13818e307af7b9f001d3767e.tar.bz2
cuberite-8ba6f731699465aa13818e307af7b9f001d3767e.tar.lz
cuberite-8ba6f731699465aa13818e307af7b9f001d3767e.tar.xz
cuberite-8ba6f731699465aa13818e307af7b9f001d3767e.tar.zst
cuberite-8ba6f731699465aa13818e307af7b9f001d3767e.zip
Diffstat (limited to '')
-rw-r--r--src/Simulator/RedstoneSimulator.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Simulator/RedstoneSimulator.cpp b/src/Simulator/RedstoneSimulator.cpp
index 6b7ae3196..298175ad7 100644
--- a/src/Simulator/RedstoneSimulator.cpp
+++ b/src/Simulator/RedstoneSimulator.cpp
@@ -946,11 +946,11 @@ void cRedstoneSimulator::HandlePressurePlate(int a_BlockX, int a_BlockY, int a_B
{
public:
cWoodenPressurePlateCallback(int a_BlockX, int a_BlockY, int a_BlockZ, cWorld * a_World) :
+ m_Entity(NULL),
+ m_World(a_World),
m_X(a_BlockX),
m_Y(a_BlockY),
- m_Z(a_BlockZ),
- m_World(a_World),
- m_Entity(NULL)
+ m_Z(a_BlockZ)
{
}