summaryrefslogtreecommitdiffstats
path: root/source/Defines.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/Defines.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/Defines.h b/source/Defines.h
index d0279875f..e0880ad24 100644
--- a/source/Defines.h
+++ b/source/Defines.h
@@ -72,6 +72,12 @@ inline bool IsBlockLava(char a_BlockID)
}
+inline bool IsBlockLiquid(char a_BlockID)
+{
+ return IsBlockWater(a_BlockID) || IsBlockLava(a_BlockID);
+}
+
+