Bug #2393 ยป 0078-draw_trade_route_line-Use-macros-instead-of-const-va.patch
| client/mapview_common.c | ||
|---|---|---|
|
};
|
||
|
/* A trade route line might need to be drawn in two parts. */
|
||
|
static const int MAX_TRADE_ROUTE_DRAW_LINES = 2;
|
||
|
#define MAX_TRADE_ROUTE_DRAW_LINES 2
|
||
|
static struct timer *anim_timer = nullptr;
|
||
| ... | ... | |
|
lines[1].width = -lines[0].width;
|
||
|
lines[1].height = -lines[0].height;
|
||
|
return 2;
|
||
|
}
|
||