Complete.Org: Mailing Lists: Archives: freeciv-dev: July 2003:
[Freeciv-Dev] Re: (PR#4639) units get more MP than max MP
Home

[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]
To: jdorje@xxxxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#4639) units get more MP than max MP
From: "ue80@xxxxxxxxxxxxxxxxxxxxx" <ue80@xxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 23 Jul 2003 01:34:34 -0700
Reply-to: rt@xxxxxxxxxxxxxx

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.



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