[Commits] [wesnoth/wesnoth] b9bed4: fix play_controller::is_browsing()
GitHub
noreply at github.com
Sun Mar 8 23:16:20 UTC 2015
Branch: refs/heads/master
Home: https://github.com/wesnoth/wesnoth
Commit: b9bed4ff6cf5e1622c69838ddda57fa75b9596a7
https://github.com/wesnoth/wesnoth/commit/b9bed4ff6cf5e1622c69838ddda57fa75b9596a7
Author: gfgtdf <tischpapier at gmail.com>
Date: 2015-03-09 (Mon, 09 Mar 2015)
Changed paths:
M src/play_controller.cpp
Log Message:
-----------
fix play_controller::is_browsing()
we now check linger_, init_side_done_ and gamestate_.gamedata_.phase() before accessing current_team().
This is saver since during linger mode or during initilisation there is not really a 'current team'.
More information about the Commits
mailing list