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