1
0

Added additional parenthasies

This commit is contained in:
worktycho 2014-02-10 18:06:49 +00:00
parent 9f542ee0f8
commit 7ad4a86c49

View File

@ -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;
}