diff options
author | Julian Laubstein <julianlaubstein@yahoo.de> | 2014-05-19 13:02:02 +0200 |
---|---|---|
committer | Julian Laubstein <julianlaubstein@yahoo.de> | 2014-05-19 13:02:02 +0200 |
commit | e9abf9a4987835a52dab508f9b8a8feb57e9a103 (patch) | |
tree | 9acc8d1b9af75f83c28595c6491ae003917d2b7b /src/Simulator/IncrementalRedstoneSimulator.h | |
parent | Fixed some warnings (diff) | |
download | cuberite-e9abf9a4987835a52dab508f9b8a8feb57e9a103.tar cuberite-e9abf9a4987835a52dab508f9b8a8feb57e9a103.tar.gz cuberite-e9abf9a4987835a52dab508f9b8a8feb57e9a103.tar.bz2 cuberite-e9abf9a4987835a52dab508f9b8a8feb57e9a103.tar.lz cuberite-e9abf9a4987835a52dab508f9b8a8feb57e9a103.tar.xz cuberite-e9abf9a4987835a52dab508f9b8a8feb57e9a103.tar.zst cuberite-e9abf9a4987835a52dab508f9b8a8feb57e9a103.zip |
Diffstat (limited to 'src/Simulator/IncrementalRedstoneSimulator.h')
-rw-r--r-- | src/Simulator/IncrementalRedstoneSimulator.h | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/src/Simulator/IncrementalRedstoneSimulator.h b/src/Simulator/IncrementalRedstoneSimulator.h index a57a17328..233a3d408 100644 --- a/src/Simulator/IncrementalRedstoneSimulator.h +++ b/src/Simulator/IncrementalRedstoneSimulator.h @@ -202,13 +202,8 @@ private: case E_BLOCK_POWERED_RAIL: { return true; - break; - } - default: - { - return false; - break; } + default: return false; } } @@ -280,13 +275,8 @@ private: case E_BLOCK_PISTON: { return true; - break; - } - default: - { - return false; - break; } + default: return false; } } }; |