URL:
  <http://gna.org/patch/?859>

                 Summary: mismatch of fog map to cache map in minimap.cpp
                 Project: Battle for Wesnoth
            Submitted by: microe
            Submitted on: Tuesday 11/20/2007 at 00:52
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

In the file src/minimap.cpp, at line 77 - the iterator i is compared to
cache.end(). But at line 69, i might have been set to the fogged map instead
of the cache map. This could cause a false comparison. So it is better to
have an iterator for each map we are going to search. This patch attempts to
do that.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Tuesday 11/20/2007 at 00:52  Name: wesnoth-mismatched-iterator.patch 
Size: 1kB   By: microe

<http://gna.org/patch/download.php?file_id=3235>

    _______________________________________________________

Reply to this item at:

  <http://gna.org/patch/?859>

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


_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs

Reply via email to