[Commits] [wesnoth/wesnoth] 8534aa: remove unnecessary argument to game_display::scrol...

GitHub noreply at github.com
Sun Jun 8 16:44:57 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 8534aa28518f726c1f44de0385187e16bdb04edf
      https://github.com/wesnoth/wesnoth/commit/8534aa28518f726c1f44de0385187e16bdb04edf
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-06-08 (Sun, 08 Jun 2014)

  Changed paths:
    M src/game_display.cpp
    M src/game_display.hpp
    M src/menu_events.cpp
    M src/play_controller.cpp
    M src/replay_controller.cpp

  Log Message:
  -----------
  remove unnecessary argument to game_display::scroll_to_leader

The function was requiring a reference to unit map, although
the game_display owns a referece to this, and it was always
called with that instance.





More information about the Commits mailing list