URL:
<http://gna.org/bugs/?21144>
Summary: RPT_POSSIBLE and negated reqs returning wrong answer
Project: Freeciv
Submitted by: cazfi
Submitted on: Tue 17 Sep 2013 02:15:45 AM EEST
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.3.5, 2.4.1, 2.5.0, 2.6.0
_______________________________________________________
Details:
RPT_POSSIBLE effect is evaluated to boolean result already when it's reversed
for negated req. This means that uncertain negated req will evaluate to FALSE
while it should be TRUE.
I'm introducing enum fc_tristate type (with values TRI_NO, TRI_YES, and
TRI_MAYBE) and evaluating requirements to that type (instead of boolean) until
negating the result for negated requirements.
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?21144>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev