[Freeciv-Dev] Re: (PR#4639) units get more MP than max MP
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Tue, Jul 22, 2003 at 08:15:44PM -0700, Jason Short wrote:
> ue80@xxxxxxxxxxxxxxxxxxxxx wrote:
>
> > Think you don't scale the HP now because to_unit == punit->id
> >
> > You should move the punit->type = to_unit; under that.
> > Or to make cleaner code use the same construction for the HP too. (First
> > save the old maxima and then scale)
>
> Gee, that was dumb of me. Looks like I messed up the math, too.
>
> Perhaps this one is better...still untested.
Looks good
Thomas
--
Thomas Strub *** eMail ue80@xxxxxxxxxxxxxxxxxxxxx
jb: people are stupid, they don't want to learn.
|
|