Author: cazfi Date: Tue May 16 15:33:42 2017 New Revision: 35614 URL: http://svn.gna.org/viewcvs/freeciv?rev=35614&view=rev Log: Do not set out-of-range AI love towards player launching spaceship
See hrm Bug #660363 Modified: branches/S3_0/ai/default/daidiplomacy.c Modified: branches/S3_0/ai/default/daidiplomacy.c URL: http://svn.gna.org/viewcvs/freeciv/branches/S3_0/ai/default/daidiplomacy.c?rev=35614&r1=35613&r2=35614&view=diff ============================================================================== --- branches/S3_0/ai/default/daidiplomacy.c (original) +++ branches/S3_0/ai/default/daidiplomacy.c Tue May 16 15:33:42 2017 @@ -1555,7 +1555,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