summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--void.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/void.h b/void.h
index 711859fa2..22043399a 100644
--- a/void.h
+++ b/void.h
@@ -3,4 +3,11 @@
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;
}