diff options
author | Mattes D <github@xoft.cz> | 2015-01-22 14:33:36 +0100 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2015-01-22 14:33:36 +0100 |
commit | f36a00c6037fb4ab2a5d78dbebefa067685f9f63 (patch) | |
tree | f0ea4baa88699ac537a0f671b503d4993376927d /src/World.h | |
parent | Fixed type conversion warnings. (diff) | |
parent | Fixed warnings in StringUtils. (diff) | |
download | cuberite-f36a00c6037fb4ab2a5d78dbebefa067685f9f63.tar cuberite-f36a00c6037fb4ab2a5d78dbebefa067685f9f63.tar.gz cuberite-f36a00c6037fb4ab2a5d78dbebefa067685f9f63.tar.bz2 cuberite-f36a00c6037fb4ab2a5d78dbebefa067685f9f63.tar.lz cuberite-f36a00c6037fb4ab2a5d78dbebefa067685f9f63.tar.xz cuberite-f36a00c6037fb4ab2a5d78dbebefa067685f9f63.tar.zst cuberite-f36a00c6037fb4ab2a5d78dbebefa067685f9f63.zip |
Diffstat (limited to 'src/World.h')
-rw-r--r-- | src/World.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/World.h b/src/World.h index 1f58ddbb7..e7519dab8 100644 --- a/src/World.h +++ b/src/World.h @@ -803,7 +803,7 @@ public: int CreateProjectile(double a_PosX, double a_PosY, double a_PosZ, cProjectileEntity::eKind a_Kind, cEntity * a_Creator, const cItem * a_Item, const Vector3d * a_Speed = nullptr); // tolua_export /** Returns a random number from the m_TickRand in range [0 .. a_Range]. To be used only in the tick thread! */ - int GetTickRandomNumber(unsigned a_Range) { return (int)(m_TickRand.randInt(a_Range)); } + int GetTickRandomNumber(int a_Range) { return (int)(m_TickRand.randInt(a_Range)); } /** Appends all usernames starting with a_Text (case-insensitive) into Results */ void TabCompleteUserName(const AString & a_Text, AStringVector & a_Results); |