summaryrefslogtreecommitdiff
path: root/void.h
diff options
context:
space:
mode:
authortron <tron@openttd.org>2006-02-24 19:52:26 +0000
committertron <tron@openttd.org>2006-02-24 19:52:26 +0000
commitf369dcef51e0cac4eacc4dcf9ec645ebfe5c5fd3 (patch)
tree1c0268c55dfc95a3896ccb746f4e79881af91695 /void.h
parentaf5a1d49c0b7b06496bfbd4d50514934ed362b3a (diff)
downloadopenttd-f369dcef51e0cac4eacc4dcf9ec645ebfe5c5fd3.tar.xz
(svn r3664) Add a function to turn a tile into a void tile
Diffstat (limited to 'void.h')
-rw-r--r--void.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/void.h b/void.h
new file mode 100644
index 000000000..711859fa2
--- /dev/null
+++ b/void.h
@@ -0,0 +1,6 @@
+/* $Id$ */
+
+static inline void MakeVoid(TileIndex t)
+{
+ SetTileType(t, MP_VOID);
+}