| 505 | } |
| 506 | |
| 507 | bool MaterialDatabase::isFallingMaterial(MaterialId materialId) const { |
| 508 | if (!isRealMaterial(materialId)) |
| 509 | return false; |
| 510 | return getMaterialInfo(materialId)->falling; |
| 511 | } |
| 512 | |
| 513 | bool MaterialDatabase::isCascadingFallingMaterial(MaterialId materialId) const { |
| 514 | if (!isRealMaterial(materialId)) |
no test coverage detected