[Commits] [wesnoth/wesnoth] fbcfa9: bug fix: whiteboard initialized before gamestate i...

GitHub noreply at github.com
Tue Dec 23 09:54:57 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: fbcfa99c811c91538588e783dfc2d97406ab84ee
      https://github.com/wesnoth/wesnoth/commit/fbcfa99c811c91538588e783dfc2d97406ab84ee
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-12-23 (Tue, 23 Dec 2014)

  Changed paths:
    M mp_tests
    M src/game_state.cpp
    M src/game_state.hpp
    M src/play_controller.cpp
    M src/playturn.cpp
    M src/whiteboard/manager.cpp

  Log Message:
  -----------
  bug fix: whiteboard initialized before gamestate init'ed

the whiteboard needs for resources::teams.size() to have the
correct value, which only occurs after teambuilder phase, in
gamestate init.

this commit is an easy way to fix but it is pretty ugly, it will
be refactored soon.





More information about the Commits mailing list