Complete.Org: Mailing Lists: Archives: freeciv-dev: February 1999:
Re: [Freeciv-Dev] PATCH: handling of hitpoint regeneration
Home

Re: [Freeciv-Dev] PATCH: handling of hitpoint regeneration

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: Re: [Freeciv-Dev] PATCH: handling of hitpoint regeneration
From: Daniel Burrows <Daniel_Burrows@xxxxxxxxx>
Date: Sat, 6 Feb 1999 00:09:31 -0500

On Fri, Feb 05, 1999 at 08:29:08PM -0500, Daniel Burrows was heard to say:
>   Hi.  In CivII, unit hitpoints are only regenerated when a unit has not moved
> or attacked in the current turn, and sentry units which have less than full
> hitpoints wake up when their hitpoints are regenerated (so you can put your
> units on sentry while they regenerate and find them immediately after they
> finish).  Freeciv lets units regenerate hitpoints no matter what they're
> doing.  The patch I've attached fixes these problems.
> 
>   Daniel Burrows

  Ack!  I forgot to deal with the case where the unit isn't damaged to start
with when deciding whether to switch out of sentry mode.  I believe this patch
is actually the correct one. :-)

  Daniel

Attachment: hp_fix.diff
Description: Text document


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