URL:
  <http://gna.org/bugs/?20661>

                 Summary: unit.c::is_square_threatened() uses H_MAP instead of
H_FOG
                 Project: Freeciv
            Submitted by: None
            Submitted on: Wed 27 Mar 2013 08:32:50 AM UTC
                Category: general
                Severity: 2 - Minor
                Priority: 5 - Normal
                  Status: None
             Assigned to: None
        Originator Email: per...@shipstone.jp
             Open/Closed: Open
                 Release: 2.4.99.22607
         Discussion Lock: Any
        Operating System: None
         Planned Release: 

    _______________________________________________________

Details:

    When an AI is checking nearby tiles to determine if they might contain
threatening units, the test to see if the AI can really see the units should
depend on H_FOG (whether the AI is affected by fog-of-war), rather than H_MAP
(whether the AI has once seen all tiles).  The current caller is
only autosettlers.c, and there exist no current AI_LEVELs for which H_MAP is
defined and H_FOG is not defined, so this has absolutely no impact on gameplay
by default, but it could be considered good cleanup in the event anyone does
enough plumbing to safely allow dynamic AI_LEVELs.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Wed 27 Mar 2013 08:32:50 AM UTC  Name: square-threatened-handicap.patch 
Size: 965B   By: None

<http://gna.org/bugs/download.php?file_id=17560>

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


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

Reply via email to