Author: cazfi
Date: Sun Apr 17 06:14:57 2016
New Revision: 32427

URL: http://svn.gna.org/viewcvs/freeciv?rev=32427&view=rev
Log:
Removed some mistaken multiplications by zoom factor.

Patch by Jacob Nevins <jtn>

See bug #24473

Modified:
    trunk/client/mapview_common.h

Modified: trunk/client/mapview_common.h
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/client/mapview_common.h?rev=32427&r1=32426&r2=32427&view=diff
==============================================================================
--- trunk/client/mapview_common.h       (original)
+++ trunk/client/mapview_common.h       Sun Apr 17 06:14:57 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

Reply via email to