[Freeciv-Dev] [Patch][RFC] Accessing unsafe data
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
All from common/city: generic_city_refresh calls
set_food_trade_shields calls city_get_food_tile calls city_celebrating
calls city_happy which accesses pcity->ppl_happy[4] which is undefined
IMHO.
Correct? Wrong? This may lead to different initial production data
depending on the happiness of the last calculation of this city. This
last calculation does have to be done at the last turn (which would
set was_happy).
Raimar
--
email: rf13@xxxxxxxxxxxxxxxxx
One nuclear bomb can ruin your whole day.
city_happy_fix1.diff
Description: Text document
- [Freeciv-Dev] [Patch][RFC] Accessing unsafe data,
Raimar Falke <=
|
|