Complete.Org: Mailing Lists: Archives: freeciv-dev: June 2003:
[Freeciv-Dev] (PR#4423) Sea units with base-moverate < 2
Home

[Freeciv-Dev] (PR#4423) Sea units with base-moverate < 2

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: bart@xxxxxxxxxxxxxx
Subject: [Freeciv-Dev] (PR#4423) Sea units with base-moverate < 2
From: "Guest" <rt-guest@xxxxxxxxxxxxxx>
Date: Thu, 19 Jun 2003 12:41:28 -0700
Reply-to: rt@xxxxxxxxxxxxxx

[per - Thu Jun 19 19:09:01 2003]: 
 
> Will this do? 
>  
> -    if (move_rate < 2 * SINGLE_MOVE) { 
> +    if (unit_type(punit)->move_rate >= 2 && move_rate < 2 * 
SINGLE_MOVE) { 
>        move_rate = 2 * SINGLE_MOVE; 
>      } 
>      break; 
>  
>   - Per 
>  
It would suffice for units with a movement of 0 (as requested), but not if the 
sea unit would have a movement of 1. 
 
Bart Coppens 


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