Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
replace fight_on_without_leader with defeat_condition
[side] now has an attribute defeat_condition which can be "no_leader"(default), "no_units" or "never" "no_leader" behaves liek it behaved before. "no_units" behaves like fight_on_without_leader=yes behaved before "never" is new and causes the side to never get defeated, this usually means the scenariodesigner has to end the scenario with [endlevel] Conflicts: src/play_controller.cpp src/team.cpp
- Loading branch information
Showing
4 changed files
with
56 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters