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

                 Summary: timer refreshed too often when time runs out
                 Project: Battle for Wesnoth
            Submitted by: None
            Submitted on: Wed Mar  5 17:44:35 2014
                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.11.11+dev
        Operating System: All

    _______________________________________________________

Details:

When time runs out the timer bonus is given two times; even worse when there's
still a random number coming from the server, timer bonus is given but the
turn is not ended.
Can be fixed by removing lines 244-250 of playmp_controller.cpp
That code is duplicate of some code (after_human_turn, line 391, called by
playsingle_controller.cpp line 677) that will be run if the turn ends in any
way (unless player type changed, but I guess timer is not interesting at all
in this case).

Duthlet




    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  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