summaryrefslogtreecommitdiffstats
path: root/source/blocks
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-07-16 20:20:35 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-07-16 20:20:35 +0200
commitee4a6df36b9359e31d4104eec5172052b27fb972 (patch)
tree3634255186ecb84e81f7418385b7ce5cfbbc7cec /source/blocks
parentfixed redstone repeater placement (diff)
downloadcuberite-ee4a6df36b9359e31d4104eec5172052b27fb972.tar
cuberite-ee4a6df36b9359e31d4104eec5172052b27fb972.tar.gz
cuberite-ee4a6df36b9359e31d4104eec5172052b27fb972.tar.bz2
cuberite-ee4a6df36b9359e31d4104eec5172052b27fb972.tar.lz
cuberite-ee4a6df36b9359e31d4104eec5172052b27fb972.tar.xz
cuberite-ee4a6df36b9359e31d4104eec5172052b27fb972.tar.zst
cuberite-ee4a6df36b9359e31d4104eec5172052b27fb972.zip
Diffstat (limited to 'source/blocks')
-rw-r--r--source/blocks/BlockMelon.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blocks/BlockMelon.h b/source/blocks/BlockMelon.h
index 921745795..d64461780 100644
--- a/source/blocks/BlockMelon.h
+++ b/source/blocks/BlockMelon.h
@@ -19,6 +19,6 @@ public:
virtual char GetDropCount()
{
MTRand r1;
- return 3 + r1.randInt(4);
+ return (char)(3 + r1.randInt(4));
}
}; \ No newline at end of file