[Commits] [wesnoth/wesnoth] 5530cd: Fix bug #21759

GitHub noreply at github.com
Sun Mar 30 17:49:23 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 5530cd0fc557079f8304bc6b680f8e01130241cb
      https://github.com/wesnoth/wesnoth/commit/5530cd0fc557079f8304bc6b680f8e01130241cb
  Author: Duthlet <peacefulwesnoth at gmail.com>
  Date:   2014-03-30 (Sun, 30 Mar 2014)

  Changed paths:
    M changelog
    M data/core/about.cfg
    M src/playmp_controller.cpp

  Log Message:
  -----------
  Fix bug #21759

Removed duplicate code that caused timer to be refreshed an additional
time if time runs out. The usual refreshing in
playmp_controller::after_human_turn is already called in this case as
well (after turn ends). The duplicate code gave the bonuses before the
turn ended, and after that the turn was ended (giving turn bonus again)
only if there was no random seed incoming from the server.

Conflicts:
	changelog





More information about the Commits mailing list