… | |
… | |
852 | /* We need to look through all the maps and see if any maps |
852 | /* We need to look through all the maps and see if any maps |
853 | * are pointing at this one for tiling information. Since |
853 | * are pointing at this one for tiling information. Since |
854 | * tiling can be asymetric, we just can not look to see which |
854 | * tiling can be asymetric, we just can not look to see which |
855 | * maps this map tiles with and clears those. |
855 | * maps this map tiles with and clears those. |
856 | */ |
856 | */ |
857 | for (int i = 0; i < 4; i++) |
857 | for (int i = 0; i < TILE_NUM; i++) |
858 | if (tile_map[i] == m) |
858 | if (tile_map[i] == m) |
859 | tile_map[i] = 0; |
859 | tile_map[i] = 0; |
860 | } |
860 | } |
861 | |
861 | |
862 | void |
862 | void |