summaryrefslogtreecommitdiffstats
path: root/src/Simulator/SandSimulator.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/Simulator/SandSimulator.cpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/Simulator/SandSimulator.cpp b/src/Simulator/SandSimulator.cpp
index 63fd8477d..903dbf53d 100644
--- a/src/Simulator/SandSimulator.cpp
+++ b/src/Simulator/SandSimulator.cpp
@@ -83,15 +83,19 @@ bool cSandSimulator::IsAllowedBlock(BLOCKTYPE a_BlockType)
{
switch (a_BlockType)
{
- case E_BLOCK_SAND:
- case E_BLOCK_GRAVEL:
case E_BLOCK_ANVIL:
+ case E_BLOCK_CONCRETE_POWDER:
case E_BLOCK_DRAGON_EGG:
+ case E_BLOCK_GRAVEL:
+ case E_BLOCK_SAND:
{
return true;
}
+ default:
+ {
+ return false;
+ }
}
- return false;
}