summaryrefslogtreecommitdiffstats
path: root/src/BlockEntities
diff options
context:
space:
mode:
authorJoannisO <Joannis.Orlandos@gmail.com>2014-05-28 15:16:45 +0200
committerJoannisO <Joannis.Orlandos@gmail.com>2014-05-28 15:16:45 +0200
commit427bddc18970bb66aa1f396c4fd19e52e3ad602d (patch)
tree0831196381ba32539083f82a67cad9c2681cbbad /src/BlockEntities
parent- Fixed an issue where dispensers would only shoot arrows (appearantly (diff)
downloadcuberite-427bddc18970bb66aa1f396c4fd19e52e3ad602d.tar
cuberite-427bddc18970bb66aa1f396c4fd19e52e3ad602d.tar.gz
cuberite-427bddc18970bb66aa1f396c4fd19e52e3ad602d.tar.bz2
cuberite-427bddc18970bb66aa1f396c4fd19e52e3ad602d.tar.lz
cuberite-427bddc18970bb66aa1f396c4fd19e52e3ad602d.tar.xz
cuberite-427bddc18970bb66aa1f396c4fd19e52e3ad602d.tar.zst
cuberite-427bddc18970bb66aa1f396c4fd19e52e3ad602d.zip
Diffstat (limited to 'src/BlockEntities')
-rw-r--r--src/BlockEntities/DispenserEntity.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/BlockEntities/DispenserEntity.cpp b/src/BlockEntities/DispenserEntity.cpp
index 2b0487c4a..341994be8 100644
--- a/src/BlockEntities/DispenserEntity.cpp
+++ b/src/BlockEntities/DispenserEntity.cpp
@@ -223,14 +223,12 @@ Vector3d cDispenserEntity::GetProjectileLookVector(cChunk & a_Chunk)
Look = m.Transform(Vector3d(0, 1, 0));
return Look * 20; // UP
- break;
case E_META_DROPSPENSER_FACING_YM:
m.Init(Vector3d(), 0, -360, 0);
Look = m.Transform(Vector3d(0, -1, 0));
return Look * 20;; // DOWN
- break;
case E_META_DROPSPENSER_FACING_XM: Direction = 90; break; // WEST
case E_META_DROPSPENSER_FACING_XP: Direction = 270; break; // EAST