<URL: http://bugs.freeciv.org/Ticket/Display.html?id=40178 >
New borders code has several comments to the effect that fortresses
are not currently supported, and indeed building one immediately
crashes game.
maphand.c:1807
assert(NULL != pcity); /* FIXME: temporary IDENTITY_NUMBER_ZERO */
maphand.c:1854
if (IDENTITY_NUMBER_ZERO == psite->identity) {
/* TODO: maybe someday, but currently should never be called! */
maphand.c:1916
if (IDENTITY_NUMBER_ZERO == psite->identity) {
/* TODO: maybe someday, but currently should never be called! */
There seems to be conflicting meanings for IDENTITY_NUMBER_ZERO
Fortress (all territory claiming bases) are IDENTITY_NUMBER_ZERO in
maphand.c:1812
psite = create_vision_site(IDENTITY_NUMBER_ZERO, psource, powner);
Ruins? maphand.c:1954
if (IDENTITY_NUMBER_ZERO == dsite->identity) {
/* ruins don't keep their borders */
- ML
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev