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/Pickup.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/Pickup.h') diff --git a/source/Pickup.h b/source/Pickup.h index b294b4e45..b6a8130da 100644 --- a/source/Pickup.h +++ b/source/Pickup.h @@ -35,8 +35,8 @@ public: virtual bool CollectedBy(cPlayer * a_Dest); // tolua_export - virtual void Tick(float a_Dt, MTRand & a_TickRandom) override; - virtual void HandlePhysics(float a_Dt) override; + virtual void Tick(float a_Dt, cChunk & a_Chunk) override; + virtual void HandlePhysics(float a_Dt, cChunk & a_Chunk) override; short GetHealth(void) const { return m_Health; } -- cgit v1.2.3