Author: cazfi
Date: Tue May 16 15:33:54 2017
New Revision: 35616

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

See hrm Bug #660363

Modified:
    branches/S2_5/ai/default/advdiplomacy.c

Modified: branches/S2_5/ai/default/advdiplomacy.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_5/ai/default/advdiplomacy.c?rev=35616&r1=35615&r2=35616&view=diff
==============================================================================
--- branches/S2_5/ai/default/advdiplomacy.c     (original)
+++ branches/S2_5/ai/default/advdiplomacy.c     Tue May 16 15:33:54 2017
@@ -1485,7 +1485,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