Complete.Org: Mailing Lists: Archives: freeciv-dev: July 2004:
[Freeciv-Dev] Re: (PR#9556) advdiplomacy.c:629
Home

[Freeciv-Dev] Re: (PR#9556) advdiplomacy.c:629

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: mstefek@xxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#9556) advdiplomacy.c:629
From: "Per I. Mathisen" <per@xxxxxxxxxxx>
Date: Fri, 30 Jul 2004 03:14:29 -0700
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=9556 >

On Fri, 30 Jul 2004, Ciaran Mac Lochlainn wrote:
> Mateusz Stefek wrote:
> >/* Modify by hatred */
> >if (adip->love < 0) {
> >  kill_desire += kill_desire / 100 * adip->love;
> >}
> >This looks strange. kill_desire is decreased if we don't like this guy.
> >Am I right?
...
> Also, it looks like the closer adip->love is to zero, the more it
> affects kill_desire...

Indeed. It used to be a negative variable, and then I inverted it to love.
Looks like I didn't properly check all the usage.

  - Per




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