[Commits] [wesnoth/wesnoth] ffe788: Fixed skip_ai_moves preference operating inversely...

GitHub noreply at github.com
Sun Oct 2 00:02:54 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: ffe7884f533bd9cce2ef053ec3f5b366fadd8745
      https://github.com/wesnoth/wesnoth/commit/ffe7884f533bd9cce2ef053ec3f5b366fadd8745
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2016-10-02 (Sun, 02 Oct 2016)

  Changed paths:
    M src/ai/actions.cpp
    M src/game_preferences.cpp
    M src/game_preferences.hpp
    M src/gui/dialogs/preferences_dialog.cpp
    M src/synced_commands.cpp

  Log Message:
  -----------
  Fixed skip_ai_moves preference operating inversely to its chosen state

Before, it was displayed as skip_ai_moves but used as show_ai_moves internally. This caused problems
with the dialog field system in the prefs dialog, since the actual use of the value didn't match the
yes/no state the value was saved as.





More information about the Commits mailing list