summaryrefslogtreecommitdiff
path: root/void_map.h
diff options
context:
space:
mode:
Diffstat (limited to 'void_map.h')
-rw-r--r--void_map.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/void_map.h b/void_map.h
index 22043399a..f1fe9b6fd 100644
--- a/void_map.h
+++ b/void_map.h
@@ -1,5 +1,8 @@
/* $Id$ */
+#ifndef VOID_MAP_H
+#define VOID_MAP_H
+
static inline void MakeVoid(TileIndex t)
{
SetTileType(t, MP_VOID);
@@ -11,3 +14,5 @@ static inline void MakeVoid(TileIndex t)
_m[t].m5 = 0;
_m[t].extra = 0;
}
+
+#endif