From 494fd4ed3418a11a61c652a1d57573e1e6c22b14 Mon Sep 17 00:00:00 2001 From: tron Date: Fri, 24 Feb 2006 20:52:32 +0000 Subject: [PATCH] (svn r3669) Really wipe all data when making a void tile Thanks to Belugas, egladil and Rubidium for their inspiration and hard work, which all this stuff is based on --- void.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/void.h b/void.h index 711859fa24..22043399ac 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; }