Unified the way mobs are spawned (egg vs natural). Fixed deadlocks in mob moving. Fixed mob destroying code.
Should fix FS #400 and partially fix FS #381 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1626 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
+2
-1
@@ -161,7 +161,8 @@ public:
|
||||
inline int GetUniqueID(void) const { return m_UniqueID; }
|
||||
inline bool IsDestroyed(void) const { return !m_IsInitialized; }
|
||||
|
||||
void Destroy(void);
|
||||
/// Schedules the entity for destroying; if a_ShouldBroadcast is set to true, broadcasts the DestroyEntity packet
|
||||
void Destroy(bool a_ShouldBroadcast = true);
|
||||
|
||||
// tolua_end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user