Fix traffic light removal not deleting animated tile.

This commit is contained in:
Jonathan G Rennison
2015-08-31 09:58:42 +01:00
parent 6e505ceab1
commit 44a41ba13e

View File

@@ -3147,6 +3147,7 @@ bool AfterLoadGame()
/* remove traffic lights */
for (TileIndex t = 0; t < map_size; t++) {
if (IsTileType(t, MP_ROAD) && (GetRoadTileType(t) == ROAD_TILE_NORMAL)) {
DeleteAnimatedTile(t);
ClrBit(_me[t].m7, 4);
}
}