| 73 | |
| 74 | |
| 75 | bool cSandSimulator::IsAllowedBlock(BLOCKTYPE a_BlockType) |
| 76 | { |
| 77 | switch (a_BlockType) |
| 78 | { |
| 79 | case E_BLOCK_SAND: |
| 80 | case E_BLOCK_GRAVEL: |
| 81 | case E_BLOCK_ANVIL: |
| 82 | case E_BLOCK_DRAGON_EGG: |
| 83 | { |
| 84 | return true; |
| 85 | } |
| 86 | } |
| 87 | return false; |
| 88 | } |
| 89 | |
| 90 | |
| 91 |