Follow-up Comment #7, bug #16429 (project freeciv):

> How calling player_research_update() can fix that? 

in techtools.c:player_tech_lost() the tech is removed from the player by
player_invention_set(plr, tech, TECH_UNKNOWN). After this function
player_research_update() must be called to update the information about the
tech tree (especially research->num_known_tech_with_flag). Without the update
the following checks for now invalid action will not fix all possible changes
due to the now missing tech.

    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?16429>

_______________________________________________
  Nachricht geschickt von/durch Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to