From 427e582d5fcbd5025a81a4e89ccada47877ccc64 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Sun, 19 Aug 2012 19:42:32 +0000 Subject: Almost all packets' handling is now rewritten not to use cPacket descendants elsewhere than in cClientHandle. git-svn-id: http://mc-server.googlecode.com/svn/trunk@761 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/cMonster.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/cMonster.h') diff --git a/source/cMonster.h b/source/cMonster.h index ab247fcfa..d46cd9205 100644 --- a/source/cMonster.h +++ b/source/cMonster.h @@ -41,7 +41,7 @@ public: virtual bool ReachedDestination(); const char *GetState(); - void SetState(const char* str); + void SetState(const AString & str); static void ListMonsters(); virtual void CheckEventSeePlayer(); @@ -93,7 +93,7 @@ protected: float m_AttackRange; float m_AttackInterval; - void AddRandomDropItem(cItems & a_Drops, unsigned int a_Min, unsigned int a_Max, ENUM_ITEM_ID a_Item, short a_ItemHealth = 0); + void AddRandomDropItem(cItems & a_Drops, unsigned int a_Min, unsigned int a_Max, short a_Item, short a_ItemHealth = 0); }; //tolua_export -- cgit v1.2.3