From 9aa8b9523dfeb2899938e716023cca17cffc18b1 Mon Sep 17 00:00:00 2001
From: jsalmon3 <>
Date: Thu, 6 Mar 2003 08:10:59 +0000
Subject: [PATCH] Fixed MarkSubmarineSeen to use shared vision

---
 src/unit/unit.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/unit/unit.cpp b/src/unit/unit.cpp
index 3845fd9de..dfcaae558 100644
--- a/src/unit/unit.cpp
+++ b/src/unit/unit.cpp
@@ -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;
     }