[Commits] [wesnoth/wesnoth] 370e03: remove code duplication of defeat_condition check
GitHub
noreply at github.com
Sat Jan 24 13:19:45 UTC 2015
Branch: refs/heads/master
Home: https://github.com/wesnoth/wesnoth
Commit: 370e03ec826c05751d1e251a6ab27714a88758ef
https://github.com/wesnoth/wesnoth/commit/370e03ec826c05751d1e251a6ab27714a88758ef
Author: gfgtdf <f492343 at rmqkr.net>
Date: 2015-01-24 (Sat, 24 Jan 2015)
Changed paths:
M src/actions/move.cpp
M src/game_board.cpp
M src/game_board.hpp
M src/scripting/game_lua_kernel.cpp
Log Message:
-----------
remove code duplication of defeat_condition check
we don't use team_is_defeated in check_victory because we don't want to
iterate over units multiple times.
More information about the Commits
mailing list