summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Simulator/IncrementalRedstoneSimulator.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/src/Simulator/IncrementalRedstoneSimulator.h b/src/Simulator/IncrementalRedstoneSimulator.h
index 233a3d408..a57a17328 100644
--- a/src/Simulator/IncrementalRedstoneSimulator.h
+++ b/src/Simulator/IncrementalRedstoneSimulator.h
@@ -202,8 +202,13 @@ private:
case E_BLOCK_POWERED_RAIL:
{
return true;
+ break;
+ }
+ default:
+ {
+ return false;
+ break;
}
- default: return false;
}
}
@@ -275,8 +280,13 @@ private:
case E_BLOCK_PISTON:
{
return true;
+ break;
+ }
+ default:
+ {
+ return false;
+ break;
}
- default: return false;
}
}
};