diff options
Diffstat (limited to 'void_map.h')
-rw-r--r-- | void_map.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/void_map.h b/void_map.h new file mode 100644 index 000000000..22043399a --- /dev/null +++ b/void_map.h @@ -0,0 +1,13 @@ +/* $Id$ */ + +static inline void MakeVoid(TileIndex t) +{ + SetTileType(t, MP_VOID); + SetTileHeight(t, 0); + _m[t].m1 = 0; + _m[t].m2 = 0; + _m[t].m3 = 0; + _m[t].m4 = 0; + _m[t].m5 = 0; + _m[t].extra = 0; +} |