(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
pull/155/head
tron 19 years ago
parent dd26e1f197
commit af9463187b

@ -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;
}

Loading…
Cancel
Save