diff options
author | archshift <admin@archshift.com> | 2014-04-27 00:32:14 +0200 |
---|---|---|
committer | archshift <admin@archshift.com> | 2014-04-27 00:32:14 +0200 |
commit | e2194e6e9083b54914deac3a5a6c2e3e4d262990 (patch) | |
tree | 9a8ebfcbddfae9fc68e40fad566695f0291751a3 /src/BlockEntities | |
parent | Merge pull request #941 from archshift/master (diff) | |
download | cuberite-e2194e6e9083b54914deac3a5a6c2e3e4d262990.tar cuberite-e2194e6e9083b54914deac3a5a6c2e3e4d262990.tar.gz cuberite-e2194e6e9083b54914deac3a5a6c2e3e4d262990.tar.bz2 cuberite-e2194e6e9083b54914deac3a5a6c2e3e4d262990.tar.lz cuberite-e2194e6e9083b54914deac3a5a6c2e3e4d262990.tar.xz cuberite-e2194e6e9083b54914deac3a5a6c2e3e4d262990.tar.zst cuberite-e2194e6e9083b54914deac3a5a6c2e3e4d262990.zip |
Diffstat (limited to 'src/BlockEntities')
-rw-r--r-- | src/BlockEntities/CommandBlockEntity.cpp | 3 | ||||
-rw-r--r-- | src/BlockEntities/MobHeadEntity.cpp | 2 |
2 files changed, 4 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) {} diff --git a/src/BlockEntities/MobHeadEntity.cpp b/src/BlockEntities/MobHeadEntity.cpp index c0a1781f6..dc9c18d58 100644 --- a/src/BlockEntities/MobHeadEntity.cpp +++ b/src/BlockEntities/MobHeadEntity.cpp @@ -14,6 +14,8 @@ cMobHeadEntity::cMobHeadEntity(int a_BlockX, int a_BlockY, int a_BlockZ, cWorld * a_World) : super(E_BLOCK_HEAD, a_BlockX, a_BlockY, a_BlockZ, a_World), + m_Type(SKULL_TYPE_SKELETON), + m_Rotation(SKULL_ROTATION_NORTH), m_Owner("") { } |