* Make a nice void tile ;) * @param t the tile to make void */
| 17 | * @param t the tile to make void |
| 18 | */ |
| 19 | inline void MakeVoid(Tile t) |
| 20 | { |
| 21 | SetTileType(t, MP_VOID); |
| 22 | SetTileHeight(t, 0); |
| 23 | t.m1() = 0; |
| 24 | t.m2() = 0; |
| 25 | t.m3() = 0; |
| 26 | t.m4() = 0; |
| 27 | t.m5() = 0; |
| 28 | t.m6() = 0; |
| 29 | t.m7() = 0; |
| 30 | t.m8() = 0; |
| 31 | } |
| 32 | |
| 33 | #endif /* VOID_MAP_H */ |
no test coverage detected