[Freeciv-Dev] bug in freeciv1.8.0 ?
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Hello.
It seems i found a bug in freeciv 1.8.0 - at least freeciv 1.7.2 behaviour is
different in same situation.
I looked through source code and here is result:
a) function citizen_happy_units() (in server/cityturn.c) in freeciv
version 1.8.0 was overworked since 1.7.2 and give slightly different
result. (maybe it's a bugfix ?)
Here is difference:
Government: Democracy
"Happy" wonders: Michelangelo's Chapel
City with size 6 support 1 "aggro" unit
When you try to convert some workers to Elvises in order to
eliminate disorder you'll get:
1.7.2 -- 1 content 5 Elvises
1.8.0 -- 1 unhappy 5 Elvises
b) in function city_refresh() (in server/cityturn.c) function
citizen_happy_buildings() called before city_support()...
Result: temple,colosseum,cathedral doesn't eliminate unhappiness
caused by "aggro" units.
Is it right? I found nothing about that in rules. It's incorrect
i guess.
SY, Oleg.
P.S. sorry for typos
- [Freeciv-Dev] bug in freeciv1.8.0 ?,
Oleg Bulyzhin <=
|
|