mirror of
https://github.com/1dot13/source.git
synced 2026-08-05 14:00:23 +02:00
- MP: Moved the FOV (friendly players share same field of view) to a define ENABLE_MP_FRIENDLY_PLAYERS_SHARE_SAME_FOV (currently disabled)
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@6041 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -568,8 +568,17 @@ void RenderRadarScreen( )
|
||||
// Don't place guys in radar until visible!
|
||||
if ( pSoldier->bVisible == -1 && !(gTacticalStatus.uiFlags&SHOW_ALL_MERCS) && !(pSoldier->ubMiscSoldierFlags & SOLDIER_MISC_XRAYED) )
|
||||
{
|
||||
#ifdef ENABLE_MP_FRIENDLY_PLAYERS_SHARE_SAME_FOV
|
||||
continue;// ie dont render
|
||||
|
||||
#else
|
||||
if(is_networked && pSoldier->bSide==0)
|
||||
{
|
||||
}
|
||||
else
|
||||
{
|
||||
continue;// ie dont render
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
// Don't render guys if they are dead!
|
||||
|
||||
@@ -1360,7 +1360,19 @@ void RenderOverheadOverlays()
|
||||
|
||||
if( !gfTacticalPlacementGUIActive && pSoldier->bLastRenderVisibleValue == -1 && !(gTacticalStatus.uiFlags&SHOW_ALL_MERCS) )
|
||||
{
|
||||
continue;// ie dont render
|
||||
|
||||
#ifdef ENABLE_MP_FRIENDLY_PLAYERS_SHARE_SAME_FOV
|
||||
continue;// ie dont render
|
||||
#else
|
||||
if(is_networked && pSoldier->bSide==0)
|
||||
{
|
||||
}
|
||||
else
|
||||
{
|
||||
continue;// ie dont render
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
if (TileIsOutOfBounds(pSoldier->sGridNo))
|
||||
|
||||
Reference in New Issue
Block a user