Author: cazfi
Date: Tue May 16 15:33:49 2017
New Revision: 35615

URL: http://svn.gna.org/viewcvs/freeciv?rev=35615&view=rev
Log:
Do not set out-of-range AI love towards player launching spaceship

See hrm Bug #660363

Modified:
    branches/S2_6/ai/default/daidiplomacy.c

Modified: branches/S2_6/ai/default/daidiplomacy.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/ai/default/daidiplomacy.c?rev=35615&r1=35614&r2=35615&view=diff
==============================================================================
--- branches/S2_6/ai/default/daidiplomacy.c     (original)
+++ branches/S2_6/ai/default/daidiplomacy.c     Tue May 16 15:33:49 2017
@@ -1546,7 +1546,7 @@
           remove_shared_vision(pplayer, aplayer);
         }
         /* Never forgive this */
-        pplayer->ai_common.love[player_index(aplayer)] = -(BIG_NUMBER);
+        pplayer->ai_common.love[player_index(aplayer)] = -MAX_AI_LOVE;
       } else if (ship->state == SSHIP_STARTED 
                 && adip->warned_about_space == 0) {
         pplayer->ai_common.love[player_index(aplayer)] -= MAX_AI_LOVE / 10;


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

Reply via email to