Complete.Org:
Mailing Lists:
Archives:
freeciv-dev:
September 2004: [Freeciv-Dev] Re: (PR#10211) AI love is adjusted on save game load |
![]() |
[Freeciv-Dev] Re: (PR#10211) AI love is adjusted on save game load[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://rt.freeciv.org/Ticket/Display.html?id=10211 > Marko Lindqvist wrote: > <URL: http://rt.freeciv.org/Ticket/Display.html?id=10211 > > > > See #436, date "Sun, 29 Aug 2004 20:36:11 +0300". This is more than > matter of extra rand(), but things like > "pplayer->ai.love[aplayer->player_no] += ai->diplomacy.love_incr;" > happen too (They are actually reson to that rand(), since they may cause > target to change which in turn triggers rand() ). > If AI hates you, simply save+load often enough :-) These changes should only be done on the beginning of a new phase. See begin_phase() in srv_main.c. jason
|