<URL: http://bugs.freeciv.org/Ticket/Display.html?id=34063 >

Does AI really worry about technology leader when starting war?

Probably the following code is never called, but otherwise it is a bug:

In freeciv-2.1.0-beta2 for linux, file ai/advdiplomacy.c, function 
ai_war_desire, lines 715-717

  /* Tech lead is worrisome. FIXME: Only consider 'military' techs. */
  fear += MAX(get_player_research(target)->techs_researched
              - get_player_research(target)->techs_researched, 0) * 100;

which seems to be equivalent to 

fear+=0

Best regards and sorry for my English
Andrey



_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to