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

                 Summary: Unit events multiply when saving the game
                 Project: Battle for Wesnoth
            Submitted by: zookeeper
            Submitted on: Monday 30/06/08 at 09:12
                Category: Bug
                Severity: 4 - Important
                Priority: 5 - Normal
              Item Group: WML
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 1.4.3
        Operating System: win xp

    _______________________________________________________

Details:

How to reproduce: start a game and get yourself a necrophage. Save,  load,
and kill something. You get +2 max hitpoints from the feeding instead of +1.
In the savefile's [snapshot] the necrophage's unit event is listed twice. If
you save again, there's now three of them in there.

So, it looks like whenever you save the game, an the extra copy of the event
gets added to the savefile.

P.S. If some unique id=-like identifier for unit [event]s helps in fixing
them properly (I'd imagine it could make it easier to check and make sure the
same event isn't added multiple times, for instance), then feel free to add
something like that. It isn't any kind of a burden for the WML author to add
identifiers like that.




    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  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