summaryrefslogtreecommitdiffstats
path: root/src/BlockEntities/CommandBlockEntity.cpp
diff options
context:
space:
mode:
authorworktycho <work.tycho@gmail.com>2014-04-27 22:24:51 +0200
committerworktycho <work.tycho@gmail.com>2014-04-27 22:24:51 +0200
commitc7260b2f63b85effc680008e65b1e3a026cfbff9 (patch)
treee526248d9e643c02d517de77d893c65a91c9cbae /src/BlockEntities/CommandBlockEntity.cpp
parentUpdate CoverityModel.cpp (diff)
parentRevert "Creative players cannot throw ender pearls." (diff)
downloadcuberite-c7260b2f63b85effc680008e65b1e3a026cfbff9.tar
cuberite-c7260b2f63b85effc680008e65b1e3a026cfbff9.tar.gz
cuberite-c7260b2f63b85effc680008e65b1e3a026cfbff9.tar.bz2
cuberite-c7260b2f63b85effc680008e65b1e3a026cfbff9.tar.lz
cuberite-c7260b2f63b85effc680008e65b1e3a026cfbff9.tar.xz
cuberite-c7260b2f63b85effc680008e65b1e3a026cfbff9.tar.zst
cuberite-c7260b2f63b85effc680008e65b1e3a026cfbff9.zip
Diffstat (limited to 'src/BlockEntities/CommandBlockEntity.cpp')
-rw-r--r--src/BlockEntities/CommandBlockEntity.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/BlockEntities/CommandBlockEntity.cpp b/src/BlockEntities/CommandBlockEntity.cpp
index 96ca0ac37..146ad915b 100644
--- a/src/BlockEntities/CommandBlockEntity.cpp
+++ b/src/BlockEntities/CommandBlockEntity.cpp
@@ -21,7 +21,8 @@
cCommandBlockEntity::cCommandBlockEntity(int a_X, int a_Y, int a_Z, cWorld * a_World) :
super(E_BLOCK_COMMAND_BLOCK, a_X, a_Y, a_Z, a_World),
m_ShouldExecute(false),
- m_IsPowered(false)
+ m_IsPowered(false),
+ m_Result(0)
{}