URL:
<http://gna.org/bugs/?21625>
Summary: Mapgenerator crash if no category Irrigation or Mine
extra
Project: Freeciv
Submitted by: cazfi
Submitted on: Sun 09 Feb 2014 08:13:08 AM EET
Category: general
Severity: 3 - Normal
Priority: 5 - Normal
Status: In Progress
Assigned to: None
Originator Email:
Open/Closed: Open
Release:
Discussion Lock: Any
Operating System: None
Planned Release: 2.6.0
_______________________________________________________
Details:
Noticed while fixing another bug:
Startpos selection code in mapgenerator tries to place Irrigation and Mine to
virtual tile to see how such an improvement would help player. It doesn't
check that there actually is suitable extra in the ruleset, but happily passes
NULL extra to tile_apply_activity() -> tile_mine() / tile_irrigate().
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?21625>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev