src/void_map.h
branchgamebalance
changeset 9909 dce9a6923bb7
parent 9908 0fa543611bbe
child 8604 8afdd9877afd
equal deleted inserted replaced
9908:0fa543611bbe 9909:dce9a6923bb7
     3 /** @file void_map.h */
     3 /** @file void_map.h */
     4 
     4 
     5 #ifndef VOID_MAP_H
     5 #ifndef VOID_MAP_H
     6 #define VOID_MAP_H
     6 #define VOID_MAP_H
     7 
     7 
       
     8 /**
       
     9  * Make a nice void tile ;)
       
    10  * @param t the tile to make void
       
    11  */
     8 static inline void MakeVoid(TileIndex t)
    12 static inline void MakeVoid(TileIndex t)
     9 {
    13 {
    10 	SetTileType(t, MP_VOID);
    14 	SetTileType(t, MP_VOID);
    11 	SetTileHeight(t, 0);
    15 	SetTileHeight(t, 0);
    12 	_m[t].m1 = 0;
    16 	_m[t].m1 = 0;