[Commits] [wesnoth/wesnoth] 0cd14d: Fixed accelerated speed settings not being respect...

GitHub noreply at github.com
Wed Jun 1 14:05:16 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 0cd14d875d9ec04b9327aaff14567b1d522f7fa3
      https://github.com/wesnoth/wesnoth/commit/0cd14d875d9ec04b9327aaff14567b1d522f7fa3
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2016-06-02 (Thu, 02 Jun 2016)

  Changed paths:
    M src/editor/controller/editor_controller.cpp
    M src/play_controller.cpp
    M src/preferences.cpp
    M src/preferences.hpp
    M src/preferences_display.cpp
    M src/preferences_display.hpp

  Log Message:
  -----------
  Fixed accelerated speed settings not being respected in-game (bug #24653)

Since the preference display manager was refactored out in d2bec9ec9d39b783f,
the display class setters for preferences such as accelerated speed weren't getting
called when opening the editor or starting a new game. This commit adds a function
calling the relevant setters.

This also cleans up a few redundant pref setter functions.





More information about the Commits mailing list