Complete.Org: Mailing Lists: Archives: freeciv-dev: July 2003:
[Freeciv-Dev] update (PR#4639)
Home

[Freeciv-Dev] update (PR#4639)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] update (PR#4639)
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 21 Jul 2003 10:35:32 -0700
Reply-to: rt@xxxxxxxxxxxxxx



-------- Original Message --------
Subject: [Freeciv-Dev] Re: [FreeCiv-Cvs] jdorje: Scale the HP and MP of 
a unit when upgrading...
Date: Mon, 21 Jul 2003 19:04:44 +0200
From: Thomas Strub <ue80@xxxxxxxxxxxxxxxxxxxxx>
To: freeciv-dev@xxxxxxxxxxx
References: <200307170451.h6H4p2wG014720@xxxxxxxxxxxxxxxxxxx> 
<20030721162507.GA13090@xxxxxxxxxxx>

On Mon, Jul 21, 2003 at 06:25:07PM +0200, Christian Knoke wrote:
> [Please CC: me if you answer]
> 
> On Wed, Jul 16, 2003 at 09:51:02PM -0700, freeciv@xxxxxxxxxxxxxxxxxxx wrote:
> > This is an automated notification of a change to freeciv cvs, 
> > on Wed Jul 16 21:49:25 PDT 2003 = Thu Jul 17 04:49:25 2003 (GMT)
> > by Jason Dorje Short <jdorje@xxxxxxxxxxxxxxxxxxxxx>
> > 
> > ---- Files affected:
> > 
> > freeciv/server unittools.c
> > 
> > ---- Log message:
> >       Tag: HEAD
> > 
> > Scale the HP and MP of a unit when upgrading.  This prevents some odd
> > behavior when upgrading from units with only 1 MP.
> > 
> > Reported by Christian Knoke <chrisk@xxxxxxxx> as PR#3990.  Patch by me.
> 
> It is now possible that a unit has more than its max MP. Eg a galleon
> updated to a transport gives 7 1/3 MP with Magellans's.

A possible solution could be like the attached patch ... problem that
"to_unit" isn't a "struct unit" ...

Thomas
-- 
Thomas Strub  ***  eMail ue80@xxxxxxxxxxxxxxxxxxxxx
jb: people are stupid, they don't want to learn.






[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] update (PR#4639), Jason Short <=