diff options
author | Tycho <work.tycho+git@gmail.com> | 2014-02-05 18:43:49 +0100 |
---|---|---|
committer | Tycho <work.tycho+git@gmail.com> | 2014-02-05 18:43:49 +0100 |
commit | 8ba6f731699465aa13818e307af7b9f001d3767e (patch) | |
tree | bb24c8cc1e076b7cc8457dc4a639726b5df1515b /src/Simulator/RedstoneSimulator.cpp | |
parent | Fix gcc not having operator ++ on enums (diff) | |
download | cuberite-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 'src/Simulator/RedstoneSimulator.cpp')
-rw-r--r-- | src/Simulator/RedstoneSimulator.cpp | 6 |
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) { } |