[Commits] [wesnoth/wesnoth] f9a021: Deploy display_context::get_team when possible
GitHub
noreply at github.com
Tue Apr 25 15:41:36 UTC 2017
Branch: refs/heads/master
Home: https://github.com/wesnoth/wesnoth
Commit: f9a021eaab1dbd7b3dbd228dacfc2c637ca33be7
https://github.com/wesnoth/wesnoth/commit/f9a021eaab1dbd7b3dbd228dacfc2c637ca33be7
Author: Charles Dang <exodia339 at gmail.com>
Date: 2017-04-26 (Wed, 26 Apr 2017)
Changed paths:
M src/actions/advancement.cpp
M src/actions/attack.cpp
M src/actions/undo.cpp
M src/actions/vision.cpp
M src/ai/default/ca.cpp
M src/ai/default/contexts.cpp
M src/ai/default/recruitment.cpp
M src/display_context.cpp
M src/persist_var.cpp
M src/play_controller.cpp
M src/playsingle_controller.cpp
M src/replay.cpp
M src/scripting/lua_unit.cpp
M src/synced_commands.cpp
M src/units/abilities.cpp
M src/units/filter.cpp
M src/whiteboard/attack.cpp
M src/whiteboard/utility.cpp
Log Message:
-----------
Deploy display_context::get_team when possible
This replaces uses of teams()[side - 1] when appropriate. Doesn't touch usecases in other classes.
More information about the Commits
mailing list