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

                 Summary: Invalid AI recruit list crashes campaigns back to
main menu
                 Project: Battle for Wesnoth
            Submitted by: zookeeper
            Submitted on: Saturday 31/01/09 at 21:50
                Category: Bug
                Severity: 4 - Important
                Priority: 5 - Normal
              Item Group: WML
                  Status: None
                 Privacy: Public
             Assigned to: sapient
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 1.5.8+svn
        Operating System: all

    _______________________________________________________

Details:

error general: Error while playing the game: game_error: Unknown unit type ''
while generating traits

Current trunk seems to crash a campaign back to the main menu with the above
error when a computer player tries to recruit while having an invalid unit id
in its recruit list.

The previous and IMO correct behaviour would be to just ignore that invalid
unit and either only print the error in stderr or as one of those harmless
chat-text-like user-visible warnings.




    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  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