[Commits] [wesnoth/wesnoth] 4d6215: Editor: correctly fetch unit_map

GitHub noreply at github.com
Fri Dec 2 01:31:33 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 4d621567a49b4abcd42dde0eb21a894623376e67
      https://github.com/wesnoth/wesnoth/commit/4d621567a49b4abcd42dde0eb21a894623376e67
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2016-12-02 (Fri, 02 Dec 2016)

  Changed paths:
    M src/editor/controller/editor_controller.cpp
    M src/editor/map/context_manager.cpp

  Log Message:
  -----------
  Editor: correctly fetch unit_map

Seems the editor doesn't have a game_board, it stores its units in a map_context.
There were no uses of gameboard->teams() in the editor.





More information about the Commits mailing list