Author: pepeto Date: Mon Jan 12 14:42:02 2015 New Revision: 27640 URL: http://svn.gna.org/viewcvs/freeciv?rev=27640&view=rev Log: Fix typo in vision_site_update_from_city() assertions making assignments instead of comparisons.
See gna bug #23167 Modified: branches/S2_5/common/vision.c Modified: branches/S2_5/common/vision.c URL: http://svn.gna.org/viewcvs/freeciv/branches/S2_5/common/vision.c?rev=27640&r1=27639&r2=27640&view=diff ============================================================================== --- branches/S2_5/common/vision.c (original) +++ branches/S2_5/common/vision.c Mon Jan 12 14:42:02 2015 @@ -109,8 +109,8 @@ const struct city *pcity) { /* should be same identity and location */ - fc_assert_ret(psite->identity = pcity->id); - fc_assert_ret(psite->location = pcity->tile); + fc_assert_ret(psite->identity == pcity->id); + fc_assert_ret(psite->location == pcity->tile); psite->owner = city_owner(pcity); _______________________________________________ Freeciv-commits mailing list Freeciv-commits@gna.org https://mail.gna.org/listinfo/freeciv-commits