Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2004:
[Freeciv-Dev] Re: (PR#4684) client-side air goto
Home

[Freeciv-Dev] Re: (PR#4684) client-side air goto

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: jdorje@xxxxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#4684) client-side air goto
From: "Raimar Falke" <i-freeciv-lists@xxxxxxxxxxxxx>
Date: Tue, 20 Jan 2004 23:59:03 -0800
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=4684 >

On Tue, Jan 20, 2004 at 10:31:16PM -0800, Jason Short wrote:
> +  case AIR_MOVING:
> +    parameter->get_MC = airmove;
> +    parameter->is_pos_dangerous = air_is_pos_dangerous;
> +    parameter->turn_mode = TM_WORST_TIME;
> +    break;
> +  case HELI_MOVING:
> +    /* Helicoptors are treated similarly to airplanes. */
> +    parameter->get_MC = airmove;
> +    if (player_owns_active_wonder(unit_owner(punit), B_UNITED)) {
> +      /* United nations currently cancels out helicoptor fuel loss. */
> +      parameter->is_pos_dangerous = NULL;

You don't set turn_mode in that case.

> +    } else {
> +      /* Otherwise, don't risk fuel loss. */
> +      parameter->is_pos_dangerous = air_is_pos_dangerous;
> +      parameter->turn_mode = TM_WORST_TIME;
> +    }
> +    break;

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "Microsoft DNS service terminates abnormally when it recieves a response
  to a DNS query that was never made.
  Fix Information: Run your DNS service on a different platform."
    -- MS service information on bugtraq




[Prev in Thread] Current Thread [Next in Thread]