From a49c004278b0e300521e9cedf44a46ac843a958b Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Sat, 13 Apr 2013 21:02:10 +0000 Subject: Rewritten entities so that they are owned by individual chunks and ticked within their chunk's Tick() git-svn-id: http://mc-server.googlecode.com/svn/trunk@1385 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/Minecart.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/Minecart.h') diff --git a/source/Minecart.h b/source/Minecart.h index d3ca22f4b..db61997d8 100644 --- a/source/Minecart.h +++ b/source/Minecart.h @@ -35,7 +35,7 @@ public: // cEntity overrides: virtual void Initialize(cWorld * a_World) override; virtual void SpawnOn(cClientHandle & a_ClientHandle) override; - virtual void Tick(float a_Dt, MTRand & a_TickRandom) override; + virtual void Tick(float a_Dt, cChunk & a_Chunk) override; ePayload GetPayload(void) const { return m_Payload; } -- cgit v1.2.3