Fix an error in code hinted by [Relic]
share_maps was broken (if share_view was not used)
This commit is contained in:
parent
7d8c1fa703
commit
27eefd5182
1 changed files with 1 additions and 1 deletions
|
@ -577,7 +577,7 @@ const std::vector<const team::shroud_map*>& team::ally_shroud(const std::vector<
|
|||
{
|
||||
if(ally_shroud_.empty()) {
|
||||
for(size_t i = 0; i < teams.size(); ++i) {
|
||||
if(!is_enemy(i + 1) && (&(teams[i]) == this || teams[i].share_view())) {
|
||||
if(!is_enemy(i + 1) && (&(teams[i]) == this || teams[i].share_maps())) {
|
||||
ally_shroud_.push_back(&(teams[i].shroud_));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue