From b29af701b9a0b6bfbd2acaae06e32e9742fd7e78 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Sat, 22 Dec 2012 10:15:53 +0000 Subject: MTRand reference is now passed as a Tick() parameter so that it isn't created and destroyed over and over again. All entities will handle physics (empty callback for now) git-svn-id: http://mc-server.googlecode.com/svn/trunk@1096 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/Pawn.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/Pawn.h') diff --git a/source/Pawn.h b/source/Pawn.h index a8a25c04f..2e590f1f5 100644 --- a/source/Pawn.h +++ b/source/Pawn.h @@ -83,7 +83,7 @@ public: cPawn(eEntityType a_EntityType); - virtual void Tick(float a_Dt) override; + virtual void Tick(float a_Dt, MTRand & a_TickRandom) override; // tolua_begin @@ -150,7 +150,7 @@ public: virtual void InStateBurning(float a_Dt); - virtual void CheckMetaDataBurn(); + virtual void CheckMetaDataBurn(void); virtual void SetMaxHealth(short a_MaxHealth); virtual short GetMaxHealth() { return m_MaxHealth; } -- cgit v1.2.3