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

                 Summary: Unreachable hexes through a tunnel are shown as
reachable
                 Project: Battle for Wesnoth
            Submitted by: beetlenaut
            Submitted on: Sun 15 Jun 2014 04:36:55 PM PDT
                Category: Bug
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: User Interface
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 1.11.15
        Operating System: Linux

    _______________________________________________________

Details:

Hexes reachable through tunnels are all highlighted as expected, but in the
current implementation, a unit can't actually use the tunnel in some cases. In
the attached image and scenario file, there is a bidirectional tunnel
connecting the craters. You can select the saurian, then click on the swamp.
It moves through the tunnel and reaches the swamp as expected. But, if you
select the scout and click on the forest, it doesn't work. The scout moves to
the first crater, then an error message pops up saying the tunnel is being
blocked (by the mage)--though we know it's still open in the other direction.
Even worse, this move can't be undone! That's a nasty, un-fixable surprise for
the player. Also, if a micro_ai tries to send the scout through this tunnel,
it will spray lua errors across the screen. For more fun, try planning mode.

The simplest way to fix this is to mark hexes at the other side of the tunnel
as unreachable if a unit is there, but that doesn't make sense. Units on the
same side can move through each other in all other cases, so they should
definitely be able to do so in this case as well. For some uses, it might be
desirable to have units be able to block a tunnel (in one or both directions),
but that would still be possible with a few moveto events.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sun 15 Jun 2014 04:36:55 PM PDT  Name: tunnel_test.jpg  Size: 82kB   By:
beetlenaut

<http://gna.org/bugs/download.php?file_id=21048>
-------------------------------------------------------
Date: Sun 15 Jun 2014 04:36:55 PM PDT  Name: tunnel_test.cfg  Size: 792B   By:
beetlenaut

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

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  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