Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2001:
[Freeciv-Dev] Re: [Patch] Fortress with enhanced vision (watchtower-like
Home

[Freeciv-Dev] Re: [Patch] Fortress with enhanced vision (watchtower-like

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: [Patch] Fortress with enhanced vision (watchtower-like)
From: Erik Sigra <sigra@xxxxxxx>
Date: Sat, 25 Aug 2001 21:31:26 +0200
Reply-to: sigra@xxxxxxx

lördagen den 25 augusti 2001 17:59 skrev du:
>  return max(base_vision,
>             max(watchtower_vision, base_vision+watchtower_extra_vision));

I assume the variables here are all positive. Then one max call is enough.


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