From 360d8eade0332f2c1aa5c205ca772cd506c35b26 Mon Sep 17 00:00:00 2001 From: peterbell10 Date: Tue, 13 Jun 2017 20:35:30 +0100 Subject: FastRandom rewrite (#3754) --- src/Chunk.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/Chunk.h') diff --git a/src/Chunk.h b/src/Chunk.h index e5fb162be..3a0d37768 100644 --- a/src/Chunk.h +++ b/src/Chunk.h @@ -27,7 +27,6 @@ namespace Json class cWorld; class cClientHandle; class cServer; -class MTRand; class cPlayer; class cChunkMap; class cBeaconEntity; @@ -609,7 +608,7 @@ private: bool GrowTallGrass (int a_RelX, int a_RelY, int a_RelZ); /** Grows a melon or a pumpkin next to the block specified (assumed to be the stem); returns true if the pumpkin or melon sucessfully grew */ - bool GrowMelonPumpkin(int a_RelX, int a_RelY, int a_RelZ, BLOCKTYPE a_BlockType, MTRand & a_Random); + bool GrowMelonPumpkin(int a_RelX, int a_RelY, int a_RelZ, BLOCKTYPE a_BlockType); /** Called by Tick() when an entity moves out of this chunk into a neighbor; moves the entity and sends spawn / despawn packet to clients */ void MoveEntityToNewChunk(cEntity * a_Entity); -- cgit v1.2.3