Fixed MarkSubmarineSeen to use shared vision
This commit is contained in:
parent
d48edeb133
commit
9aa8b9523d
1 changed files with 1 additions and 1 deletions
|
@ -1017,7 +1017,7 @@ global void MarkSubmarineSeen(const Player* player,int x,int y,int r)
|
|||
int pm;
|
||||
|
||||
n=SelectUnits(x-r,y-r,x+r,y+r,table);
|
||||
pm=(1<<player->Player);
|
||||
pm=((1<<player->Player)|player->SharedVision);
|
||||
for( i=0; i<n; ++i ) {
|
||||
table[i]->Visible|=pm;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue