summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2011-10-27 01:18:31 +0200
committerfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2011-10-27 01:18:31 +0200
commit3b291e19cedf4b26f30c0531c4c0eb77eeac20fb (patch)
tree5fbe753ab23d138c7ad180077d7117bc2421352e
parentMade several recomended changes. Gamemode is now world based. Need to add it to player. (diff)
downloadcuberite-3b291e19cedf4b26f30c0531c4c0eb77eeac20fb.tar
cuberite-3b291e19cedf4b26f30c0531c4c0eb77eeac20fb.tar.gz
cuberite-3b291e19cedf4b26f30c0531c4c0eb77eeac20fb.tar.bz2
cuberite-3b291e19cedf4b26f30c0531c4c0eb77eeac20fb.tar.lz
cuberite-3b291e19cedf4b26f30c0531c4c0eb77eeac20fb.tar.xz
cuberite-3b291e19cedf4b26f30c0531c4c0eb77eeac20fb.tar.zst
cuberite-3b291e19cedf4b26f30c0531c4c0eb77eeac20fb.zip
Diffstat (limited to '')
-rw-r--r--source/cClientHandle.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/cClientHandle.cpp b/source/cClientHandle.cpp
index 3fef88bfc..32920b028 100644
--- a/source/cClientHandle.cpp
+++ b/source/cClientHandle.cpp
@@ -972,6 +972,7 @@ void cClientHandle::Send( const cPacket & a_Packet, ENUM_PRIORITY a_Priority /*
Packets.erase( itr );
bBreak = true;
bSignalSemaphore = false; // Because 1 packet is removed, semaphore count is the same
+ delete PacketData;
break;
}
}