From 4fe7801cfccbfa6f5a42ac2eb919287ef98ea611 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Tue, 25 Jun 2013 06:36:59 +0000 Subject: 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 --- source/Chunk.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/Chunk.cpp') diff --git a/source/Chunk.cpp b/source/Chunk.cpp index 7816f2adc..049a4944d 100644 --- a/source/Chunk.cpp +++ b/source/Chunk.cpp @@ -123,7 +123,7 @@ cChunk::~cChunk() { if (!(*itr)->IsPlayer()) { - (*itr)->Destroy(); + (*itr)->Destroy(false); delete *itr; } } -- cgit v1.2.3