Author: pepeto Date: Mon Jan 12 14:41:53 2015 New Revision: 27638 URL: http://svn.gna.org/viewcvs/freeciv?rev=27638&view=rev Log: Fix typo in vision_site_update_from_city() assertions making assignments instead of comparisons.
See gna bug #23167 Modified: trunk/common/vision.c Modified: trunk/common/vision.c URL: http://svn.gna.org/viewcvs/freeciv/trunk/common/vision.c?rev=27638&r1=27637&r2=27638&view=diff ============================================================================== --- trunk/common/vision.c (original) +++ trunk/common/vision.c Mon Jan 12 14:41:53 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