-
Notifications
You must be signed in to change notification settings - Fork 117
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sim: remove redundant
KillUnit()
parameter
Previously, `KillUnit()` (and its variants) exposed an optional `showDeathSequence` parameters that defaulted to `true`, and if set to `false` then no death script was run. In this commit, we remove the parameter as it is entirely redundant: - The 3rd mandatory parameter `reclaimed` is used for exactly the same purpose: if `reclaimed` is `true`, then no death script is run. - The default value of `showDeathSequence` is `true` and none of the callers actually set it to `false`, except 1, but this one also sets `reclaimed` to `true`... thereby overriding `showDeathSequence`.
- Loading branch information
1 parent
ccc1fe7
commit ee146a7
Showing
5 changed files
with
11 additions
and
11 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
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