summaryrefslogtreecommitdiffstats
path: root/source/blocks
diff options
context:
space:
mode:
Diffstat (limited to '')
-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