summaryrefslogtreecommitdiffstats
path: root/source/ClientHandle.cpp
diff options
context:
space:
mode:
authorJames Ravenscroft <ravenscroftj@gmail.com>2013-08-09 09:57:24 +0200
committerJames Ravenscroft <ravenscroftj@gmail.com>2013-08-09 09:57:24 +0200
commit6963e8119ce879843f4bac9042a0d8c8e588c524 (patch)
tree570feb159749a8fac4a3d07d97debd1fb30f66fc /source/ClientHandle.cpp
parentRemoved the need to recalculate whether player is under water in ApplyFoodExhaustion (diff)
downloadcuberite-6963e8119ce879843f4bac9042a0d8c8e588c524.tar
cuberite-6963e8119ce879843f4bac9042a0d8c8e588c524.tar.gz
cuberite-6963e8119ce879843f4bac9042a0d8c8e588c524.tar.bz2
cuberite-6963e8119ce879843f4bac9042a0d8c8e588c524.tar.lz
cuberite-6963e8119ce879843f4bac9042a0d8c8e588c524.tar.xz
cuberite-6963e8119ce879843f4bac9042a0d8c8e588c524.tar.zst
cuberite-6963e8119ce879843f4bac9042a0d8c8e588c524.zip
Diffstat (limited to 'source/ClientHandle.cpp')
-rw-r--r--source/ClientHandle.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/ClientHandle.cpp b/source/ClientHandle.cpp
index 6df0cfa48..85500a2e4 100644
--- a/source/ClientHandle.cpp
+++ b/source/ClientHandle.cpp
@@ -34,6 +34,8 @@
+
+
#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; }