Author: cazfi Date: Sun Apr 17 06:15:02 2016 New Revision: 32428 URL: http://svn.gna.org/viewcvs/freeciv?rev=32428&view=rev Log: Removed some mistaken multiplications by zoom factor.
Patch by Jacob Nevins <jtn> See bug #24473 Modified: branches/S2_6/client/mapview_common.h Modified: branches/S2_6/client/mapview_common.h URL: http://svn.gna.org/viewcvs/freeciv/branches/S2_6/client/mapview_common.h?rev=32428&r1=32427&r2=32428&view=diff ============================================================================== --- branches/S2_6/client/mapview_common.h (original) +++ branches/S2_6/client/mapview_common.h Sun Apr 17 06:15:02 2016 @@ -154,12 +154,12 @@ (_t##_di + 2) / 4); \ _c->tile[3] = map_pos_to_tile((_t##_si - 6) / 4, \ (_t##_di + 2) / 4); \ - if (tileset_hex_width(tileset) * _zoom > 0) { \ + if (tileset_hex_width(tileset) > 0) { \ _e = &_t##_e; \ _e->type = EDGE_UD; \ _e->tile[0] = _c->tile[0]; \ _e->tile[1] = _c->tile[2]; \ - } else if (tileset_hex_height(tileset) * _zoom > 0) { \ + } else if (tileset_hex_height(tileset) > 0) { \ _e = &_t##_e; \ _e->type = EDGE_LR; \ _e->tile[0] = _c->tile[1]; \ _______________________________________________ Freeciv-commits mailing list Freeciv-commits@gna.org https://mail.gna.org/listinfo/freeciv-commits