Bug #2360 ยป 0088-bounce_unit-Use-macros-instead-of-const-variables.patch
| server/unittools.c | ||
|---|---|---|
|
/* I assume that there are no topologies that have more than
|
||
|
* (2d + 1)^2 tiles in the "square" of "radius" d. */
|
||
|
const int DIST = 2;
|
||
|
#define DIST 2
|
||
|
struct tile *tiles[(2 * DIST + 1) * (2 * DIST + 1)];
|
||
|
if (!punit) {
|
||
| ... | ... | |
|
wipe_unit(punit, ULR_STACK_CONFLICT, nullptr);
|
||
|
}
|
||
|
#undef DIST
|
||
|
/**********************************************************************//**
|
||
|
Throw pplayer's units from non-allied cities
|
||