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

                 Summary: Editor crashes when a void tile is made impassible
                 Project: Battle for Wesnoth
            Submitted by: pmawhorter
            Submitted on: Wednesday 01/14/2009 at 07:49
                Category: Bug
                Severity: 2 - Minor
                Priority: 5 - Normal
              Item Group: Editor
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 1.5.7
        Operating System: Ubuntu 8.04

    _______________________________________________________

Details:

When using the impassible tool, if you click on a void square, the editor
crashes. Error output:

wesnoth: src/sdl_utils.cpp:1294: void blit_surface(const surface&, const
SDL_Rect*, surface&, const SDL_Rect*): Assertion `(src->flags & 0x00004000)
== 0' failed.
zsh: abort      wesnoth

My wesnoth is 1.5.7, compiled and installed using "scons all; scons install"
(gcc 4.2.4). All prerequisites were gotten from Ubuntu Hardy repos.

To reproduce:

1. Start Wesnoth (v1.5.7)
2. Click on "Map Editor"
3. Click on the 'x' terrain set, select void (the big V).
4. Click anywhere on the map to place a void tile.
5. Select impassible (the big I).
6. Click on the void tile you just placed.

At this point for me Wesnoth crashes.

Using "shroud" instead of "void" as the first terrain also triggers the
crash. Putting the impassible in place first (e.g. making an impassible
grassland square) and then using shift to change just the base terrain to
either "void" or "shroud" also triggers the crash. Neither "fog" nor "none"
terrain types trigger the crash when combined with "impassible" in either
order. Impassible mountains (of either variety), chasm, lava, lava chasm, and
cave wall also interact fine with impassible (it does remove the fog from
impassible mountains, but that's desired behavior).




    _______________________________________________________

Reply to this item at:

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

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


_______________________________________________
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs

Reply via email to