On Nov 24, 2007 4:40 PM, Eric S. Raymond <[EMAIL PROTECTED]> wrote:

> >                        Since this particular event has an endlevel
> > result=victory, the game throws an end_level_exception which used to
> > proceed to the next level, without finishing the removal of the dead
> > unit.  Without a linger mode, it was irrelavent.  With linger, the
> > dead unit isn't removed (although the death animation has taken
> > place).  Note that when you linger in a broken scenario, if you hover
> > your mouse over the hex that the unit died in, you will see it's
> > ghost.
>
> This sounds right, though it fails to explain why the bug didn't manifest
> in AIO.

AIO has a "die" event in it for the bad guys, but it does not have an
endlevel tag inside the event.
Two brothers, does:
        [endlevel]
            result=victory
            bonus=yes
        [/endlevel]
Thus, in AIO, the victory is declared by the default check on whether
the sides have leaders, whereas in Two brothers the victory condition
is set inside the event, thus throwing the end_of_level exception...


-- 
-------------------------------------------------------------------
        "In theory, theory and practice are the same,
                 but in practice they're different."
-------------------------------------------------------------------
John W. C. McNabb
-------------------------------------------------------------------

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

Reply via email to