Follow-up Comment #5, bug #16592 (project freeciv):

Reason of the problem:
remove_shared_vision() uses vision_layer_iterate macro which iterates V_MAIN
then V_INVIS. When V_MAIN tile seen count is 0, the tile is fogged, whereas
it didn't handle the V_INVIS units yet.

It should iterate the vision layers in the reverse order like commented in
vision_clear_sight(). I will check if there are other way to reproduce
similar bugs.


    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message posté via/par Gna!
  http://gna.org/


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

Reply via email to