summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2015-01-18 15:10:05 +0100
committerMattes D <github@xoft.cz>2015-01-18 15:10:05 +0100
commitb1c58b7b5282ac22287be81d7600bc9580cfdf39 (patch)
tree2a49dbb0eb79b90f0a23126fa0705ff6455f4f5a
parentFixed type conversion warnings. (diff)
downloadcuberite-b1c58b7b5282ac22287be81d7600bc9580cfdf39.tar
cuberite-b1c58b7b5282ac22287be81d7600bc9580cfdf39.tar.gz
cuberite-b1c58b7b5282ac22287be81d7600bc9580cfdf39.tar.bz2
cuberite-b1c58b7b5282ac22287be81d7600bc9580cfdf39.tar.lz
cuberite-b1c58b7b5282ac22287be81d7600bc9580cfdf39.tar.xz
cuberite-b1c58b7b5282ac22287be81d7600bc9580cfdf39.tar.zst
cuberite-b1c58b7b5282ac22287be81d7600bc9580cfdf39.zip
-rw-r--r--src/World.h2
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);