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
commit6b7d4721bd3e769ae27efc569eadf72ad5212d59 (patch)
tree1c0268c55dfc95a3896ccb746f4e79881af91695 /void.h
parentea59cc4a260f8f2cd386e5066f4898d9da7a1020 (diff)
downloadopenttd-6b7d4721bd3e769ae27efc569eadf72ad5212d59.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);
+}