Follow-up Comment #2, bug #15258 (project freeciv):

> I'm afraid I didn't write down the exact error, but ISTR a line
> 247 mentioned.  Ah, this one:
>
> server/sanitycheck.c:247:  SANITY_CITY(pcity,
> !terrain_has_flag(tile_terrain(pcenter), TER_NO_CITIES));
>
> I'm not aware of any state variable that remembers whether the
> last turn resulted in random terrain changes; otherwise one
> could just wrap that TER_NO_CITIES check in if
> (game.info.last_turn_had_upset) { ... }

Thank you, this help us a lot to know what is the problem.  The correct fix
would be to avoid the terrain change via global warming or nuclear winter
when the new terrain has the  TER_NO_CITIES flag and the tile contains a
city.


    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?15258>

_______________________________________________
  Message posté via/par Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to