Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2003:
[Freeciv-Dev] (PR#5108) submarines and shared vision
Home

[Freeciv-Dev] (PR#5108) submarines and shared vision

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] (PR#5108) submarines and shared vision
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 28 Aug 2003 22:45:12 -0700
Reply-to: rt@xxxxxxxxxxxxxx

[jdorje - Fri Aug 15 19:09:10 2003]:

> You can't see the submarines of your allies, even if you have shared 
> vision with them.
> 
> jason
> 

From can_player_see_unit_at_location:

  if (pplayers_allied(unit_owner(punit), pplayer)
      || !is_hiding_unit(punit)) {
    return TRUE;
  }

in other words, allied players with shared vision should be able to see
these units.  That they cannot can only be because of PR#5113.

jason



[Prev in Thread] Current Thread [Next in Thread]