summaryrefslogtreecommitdiffstats
path: root/source/Items
diff options
context:
space:
mode:
Diffstat (limited to 'source/Items')
-rw-r--r--source/Items/ItemShears.h2
-rw-r--r--source/Items/ItemSword.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/source/Items/ItemShears.h b/source/Items/ItemShears.h
index f1424ee2e..dbdfeff5d 100644
--- a/source/Items/ItemShears.h
+++ b/source/Items/ItemShears.h
@@ -53,7 +53,7 @@ public:
{
return true;
}
- } // switch (a_BlockType
+ } // switch (a_BlockType)
return false;
}
} ;
diff --git a/source/Items/ItemSword.h b/source/Items/ItemSword.h
index 327c39a40..37b9ef32d 100644
--- a/source/Items/ItemSword.h
+++ b/source/Items/ItemSword.h
@@ -16,6 +16,6 @@ public:
virtual bool CanHarvestBlock(BLOCKTYPE a_BlockType) override
{
- return a_BlockType == E_BLOCK_COBWEB;
+ return (a_BlockType == E_BLOCK_COBWEB);
}
}; \ No newline at end of file