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

                 Summary: wesnothd::game::is_on_team bugged,
                 Project: Battle for Wesnoth
            Submitted by: gfgtdf
            Submitted on: Fr 05 Dez 2014 22:07:00 UTC
                Category: Bug
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Multiplayer
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 1.12, 1.13
        Operating System:  

    _______________________________________________________

Details:

the function wesnothd::game::is_on_team is incomplete in multiple ways: 
1) it makes it decision based on the serversided level_, which might be
outdated if wml changes [side]team_name=.
2) it doesn't handle teams correctly, it checks for equivalence if "team_name"
but team_name can be a comma seperated list and 2 sides are allies if they
have at least one element in common.

I think the best fix is to move as much of this code to the client as
possible.





    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Nachricht gesendet von/durch Gna!
  http://gna.org/


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

Reply via email to