diff options
author | Tycho <work.tycho+git@gmail.com> | 2014-03-10 19:34:20 +0100 |
---|---|---|
committer | Tycho <work.tycho+git@gmail.com> | 2014-03-10 19:34:20 +0100 |
commit | 2eca30aebc9a4f7307c31a75ca23e19fa3f1a4a7 (patch) | |
tree | f5726673e266e7db616d0c8d90b836761dafb9ce /src/ClientHandle.cpp | |
parent | Use string.reserve to avoid the need to do inplace byteswap (diff) | |
download | cuberite-2eca30aebc9a4f7307c31a75ca23e19fa3f1a4a7.tar cuberite-2eca30aebc9a4f7307c31a75ca23e19fa3f1a4a7.tar.gz cuberite-2eca30aebc9a4f7307c31a75ca23e19fa3f1a4a7.tar.bz2 cuberite-2eca30aebc9a4f7307c31a75ca23e19fa3f1a4a7.tar.lz cuberite-2eca30aebc9a4f7307c31a75ca23e19fa3f1a4a7.tar.xz cuberite-2eca30aebc9a4f7307c31a75ca23e19fa3f1a4a7.tar.zst cuberite-2eca30aebc9a4f7307c31a75ca23e19fa3f1a4a7.zip |
Diffstat (limited to '')
-rw-r--r-- | src/ClientHandle.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/ClientHandle.cpp b/src/ClientHandle.cpp index 94c9f5f71..df728e83b 100644 --- a/src/ClientHandle.cpp +++ b/src/ClientHandle.cpp @@ -36,19 +36,6 @@ - - -#define AddPistonDir(x, y, z, dir, amount) switch (dir) { case 0: (y)-=(amount); break; case 1: (y)+=(amount); break;\ - case 2: (z)-=(amount); break; case 3: (z)+=(amount); break;\ - case 4: (x)-=(amount); break; case 5: (x)+=(amount); break; } - - - - - -/** If the number of queued outgoing packets reaches this, the client will be kicked */ -#define MAX_OUTGOING_PACKETS 2000 - /** Maximum number of explosions to send this tick, server will start dropping if exceeded */ #define MAX_EXPLOSIONS_PER_TICK 20 |