summaryrefslogtreecommitdiffstats
path: root/source/blocks
diff options
context:
space:
mode:
authorlapayo94@gmail.com <lapayo94@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-09-02 20:15:50 +0200
committerlapayo94@gmail.com <lapayo94@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-09-02 20:15:50 +0200
commit5042944d9a7a78adc283cd53089eea078c4153ce (patch)
tree6005b063a1622953b14155ce8db3bccbc9a7900d /source/blocks
parentFixed debug-only code leaking into release mode in cCriticalSection, making it incompilable in release mode. (diff)
downloadcuberite-5042944d9a7a78adc283cd53089eea078c4153ce.tar
cuberite-5042944d9a7a78adc283cd53089eea078c4153ce.tar.gz
cuberite-5042944d9a7a78adc283cd53089eea078c4153ce.tar.bz2
cuberite-5042944d9a7a78adc283cd53089eea078c4153ce.tar.lz
cuberite-5042944d9a7a78adc283cd53089eea078c4153ce.tar.xz
cuberite-5042944d9a7a78adc283cd53089eea078c4153ce.tar.zst
cuberite-5042944d9a7a78adc283cd53089eea078c4153ce.zip
Diffstat (limited to 'source/blocks')
-rw-r--r--source/blocks/BlockTorch.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blocks/BlockTorch.h b/source/blocks/BlockTorch.h
index dfa503943..9a124189f 100644
--- a/source/blocks/BlockTorch.h
+++ b/source/blocks/BlockTorch.h
@@ -149,6 +149,11 @@ public:
char Dir = cTorch::MetaDataToDirection(a_World->GetBlockMeta( a_X, a_Y, a_Z));
return TorchCanBePlacedAt(a_World, a_X, a_Y, a_Z, Dir);
}
+
+ virtual NIBBLETYPE GetDropMeta(NIBBLETYPE a_BlockMeta) override
+ {
+ return 0;
+ }
};