diff options
author | madmaxoft <github@xoft.cz> | 2013-11-03 11:58:11 +0100 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2013-11-03 11:59:07 +0100 |
commit | dacd6a5274fa18f626bdd7ec9014b6581afb2e18 (patch) | |
tree | 55bb3533dbfd4dc8b9d45dd75c5b43d7e01d1a58 | |
parent | ClientHandle: Fixed an error in player-joining hook. (diff) | |
download | cuberite-dacd6a5274fa18f626bdd7ec9014b6581afb2e18.tar cuberite-dacd6a5274fa18f626bdd7ec9014b6581afb2e18.tar.gz cuberite-dacd6a5274fa18f626bdd7ec9014b6581afb2e18.tar.bz2 cuberite-dacd6a5274fa18f626bdd7ec9014b6581afb2e18.tar.lz cuberite-dacd6a5274fa18f626bdd7ec9014b6581afb2e18.tar.xz cuberite-dacd6a5274fa18f626bdd7ec9014b6581afb2e18.tar.zst cuberite-dacd6a5274fa18f626bdd7ec9014b6581afb2e18.zip |
Diffstat (limited to '')
-rw-r--r-- | source/ByteBuffer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/ByteBuffer.cpp b/source/ByteBuffer.cpp index bccd1c48b..1cdd2f430 100644 --- a/source/ByteBuffer.cpp +++ b/source/ByteBuffer.cpp @@ -195,7 +195,7 @@ int cByteBuffer::GetUsedSpace(void) const { CHECK_THREAD; CheckValid(); - return m_BufferSize - GetFreeSpace(); + return m_BufferSize - GetFreeSpace() - 1; } |