Applied my patch for bug #16604: "Ambushed!" message cannot be changed
This commit is contained in:
parent
b60fa998a3
commit
3220513320
1 changed files with 1 additions and 1 deletions
|
@ -2352,7 +2352,7 @@ size_t move_unit(move_unit_spectator *move_spectator,
|
|||
|
||||
std::vector<std::pair<const config *, map_location> >::const_iterator hide_it = hides.cfgs.begin();
|
||||
// we only use the first valid alert message
|
||||
for(;hide_it != hides.cfgs.end() && !ambushed_string.empty(); ++hide_it) {
|
||||
for(;hide_it != hides.cfgs.end() && ambushed_string.empty(); ++hide_it) {
|
||||
ambushed_string = (*hide_it->first)["alert"].str();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue