road_cmd.c
changeset 1059 c28c6be74291
parent 1041 be151b7bc909
child 1093 e8d26c7dc42f
equal deleted inserted replaced
1058:0a1a77da0a03 1059:c28c6be74291
   446 		}
   446 		}
   447 	}
   447 	}
   448 
   448 
   449 	if (flags & DC_EXEC) {
   449 	if (flags & DC_EXEC) {
   450 		if (ti.type != MP_STREET) {
   450 		if (ti.type != MP_STREET) {
   451 			_map_type_and_height[tile] &= 0xF;
   451 			SetTileType(tile, MP_STREET);
   452 			_map_type_and_height[tile] |= MP_STREET << 4;
       
   453 			_map5[tile] = 0;
   452 			_map5[tile] = 0;
   454 			_map_owner[tile] = _current_player;
   453 			_map_owner[tile] = _current_player;
   455 		}
   454 		}
   456 
   455 
   457 		_map5[tile] |= (byte)pieces;
   456 		_map5[tile] |= (byte)pieces;