diff options
author | worktycho <work.tycho@gmail.com> | 2014-02-10 18:59:17 +0100 |
---|---|---|
committer | worktycho <work.tycho@gmail.com> | 2014-02-10 18:59:17 +0100 |
commit | 23f69bc0931a6b2f5b9575283abb6c63d306655a (patch) | |
tree | 36e9427c420efbc819545a1e9c159c5171532151 /src | |
parent | Merge branch 'master' into playerimprovements (diff) | |
download | cuberite-23f69bc0931a6b2f5b9575283abb6c63d306655a.tar cuberite-23f69bc0931a6b2f5b9575283abb6c63d306655a.tar.gz cuberite-23f69bc0931a6b2f5b9575283abb6c63d306655a.tar.bz2 cuberite-23f69bc0931a6b2f5b9575283abb6c63d306655a.tar.lz cuberite-23f69bc0931a6b2f5b9575283abb6c63d306655a.tar.xz cuberite-23f69bc0931a6b2f5b9575283abb6c63d306655a.tar.zst cuberite-23f69bc0931a6b2f5b9575283abb6c63d306655a.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/Items/ItemBoat.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Items/ItemBoat.h b/src/Items/ItemBoat.h index 31d1ca52e..929533c9c 100644 --- a/src/Items/ItemBoat.h +++ b/src/Items/ItemBoat.h @@ -1,4 +1,3 @@ - // ItemBoat.h // Declares the various boat ItemHandlers @@ -31,7 +30,7 @@ public: virtual bool OnItemUse(cWorld * a_World, cPlayer * a_Player, const cItem & a_Item, int a_BlockX, int a_BlockY, int a_BlockZ, eBlockFace a_Dir) override { - if (a_Dir != BLOCK_FACE_YM || a_Dir != BLOCK_FACE_NONE) + if (a_Dir != BLOCK_FACE_YM && a_Dir != BLOCK_FACE_NONE) { return false; } |