1
0

Fixed a compilation warning

git-svn-id: http://mc-server.googlecode.com/svn/trunk@674 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
madmaxoft@gmail.com 2012-07-16 18:20:35 +00:00
parent d3b7a39f92
commit ee4a6df36b

View File

@ -19,6 +19,6 @@ public:
virtual char GetDropCount() virtual char GetDropCount()
{ {
MTRand r1; MTRand r1;
return 3 + r1.randInt(4); return (char)(3 + r1.randInt(4));
} }
}; };