summaryrefslogtreecommitdiffstats
path: root/src/Blocks
diff options
context:
space:
mode:
authorTycho Bickerstaff <work.tycho@gmail.com>2013-12-22 17:14:34 +0100
committerTycho Bickerstaff <work.tycho@gmail.com>2013-12-22 17:14:34 +0100
commit09b9661ffffa8a099407d78ddb6a58c39d85d795 (patch)
treee73cb54e56cad1845559f493a861447d8cded0e3 /src/Blocks
parentMerge remote-tracking branch 'upstream/master' into threadsafequeue (diff)
parentconverted commneted paramater names to the unused macro (diff)
downloadcuberite-09b9661ffffa8a099407d78ddb6a58c39d85d795.tar
cuberite-09b9661ffffa8a099407d78ddb6a58c39d85d795.tar.gz
cuberite-09b9661ffffa8a099407d78ddb6a58c39d85d795.tar.bz2
cuberite-09b9661ffffa8a099407d78ddb6a58c39d85d795.tar.lz
cuberite-09b9661ffffa8a099407d78ddb6a58c39d85d795.tar.xz
cuberite-09b9661ffffa8a099407d78ddb6a58c39d85d795.tar.zst
cuberite-09b9661ffffa8a099407d78ddb6a58c39d85d795.zip
Diffstat (limited to 'src/Blocks')
-rw-r--r--src/Blocks/BlockHandler.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Blocks/BlockHandler.h b/src/Blocks/BlockHandler.h
index 107d36476..a732aa797 100644
--- a/src/Blocks/BlockHandler.h
+++ b/src/Blocks/BlockHandler.h
@@ -99,7 +99,11 @@ public:
virtual bool DoesIgnoreBuildCollision(void);
/// <summary>Similar to DoesIgnoreBuildCollision(void), but is used for cases where block meta/player item-in-hand is needed to determine collision (thin snow)</summary>
- virtual bool DoesIgnoreBuildCollision(cPlayer * a_Player, NIBBLETYPE a_Meta) { return DoesIgnoreBuildCollision(); }
+ virtual bool DoesIgnoreBuildCollision(cPlayer *, NIBBLETYPE a_Meta)
+ {
+ UNUSED(a_Meta);
+ return DoesIgnoreBuildCollision();
+ }
/// <summary>Returns if this block drops if it gets destroyed by an unsuitable situation. Default: true</summary>
virtual bool DoesDropOnUnsuitable(void);