URL:
<http://gna.org/bugs/?20708>
Summary: server/cityturn.c::1752: assertion 'num_units >= 1'
failed.
Project: Freeciv
Submitted by: cazfi
Submitted on: Thu 04 Apr 2013 12:27:11 AM EEST
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
Status: None
Assigned to: None
Originator Email:
Open/Closed: Open
Release:
Discussion Lock: Any
Operating System: None
Planned Release:
_______________________________________________________
Details:
Assert fails if value of City_Build_Slots effect is less than 1. That's
ruleset error, and failing code assert is wrong way to handle it. Ideally such
an error would be caught ruleset loading time by ruleset sanity checking, but
with multiple effects have complex requirements it would be very hard to
automatically analyze if value can ever end up less than 1 in real game.
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?20708>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev