diff options
author | faketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2011-10-27 01:18:31 +0200 |
---|---|---|
committer | faketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2011-10-27 01:18:31 +0200 |
commit | 3b291e19cedf4b26f30c0531c4c0eb77eeac20fb (patch) | |
tree | 5fbe753ab23d138c7ad180077d7117bc2421352e /source | |
parent | Made several recomended changes. Gamemode is now world based. Need to add it to player. (diff) | |
download | cuberite-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 'source')
-rw-r--r-- | source/cClientHandle.cpp | 1 |
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;
}
}
|