mirror of
https://github.com/1dot13/source.git
synced 2026-08-05 14:00:23 +02:00
Merged Multi Player Project into main branch
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2144 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -38,7 +38,7 @@
|
||||
//forward declarations of common classes to eliminate includes
|
||||
class OBJECTTYPE;
|
||||
class SOLDIERTYPE;
|
||||
|
||||
#include "connect.h"
|
||||
|
||||
extern INT32 iCurrentMapSectorZ;
|
||||
|
||||
@@ -377,7 +377,9 @@ void RenderRadarScreen( )
|
||||
SetObjectHandleShade( gusRadarImage, 0 );
|
||||
|
||||
//If night time and on surface, darken the radarmap.
|
||||
if( NightTime() )
|
||||
|
||||
// WANNE - MP: Only darken the radarmap in single player mode
|
||||
if( NightTime() && !is_networked )//hayden
|
||||
{
|
||||
if( guiCurrentScreen == MAP_SCREEN && !iCurrentMapSectorZ ||
|
||||
guiCurrentScreen == GAME_SCREEN && !gbWorldSectorZ )
|
||||
@@ -559,7 +561,14 @@ void RenderRadarScreen( )
|
||||
// Don't place guys in radar until visible!
|
||||
if ( pSoldier->bVisible == -1 && !(gTacticalStatus.uiFlags&SHOW_ALL_MERCS) && !(pSoldier->ubMiscSoldierFlags & SOLDIER_MISC_XRAYED) )
|
||||
{
|
||||
continue;
|
||||
//hayden
|
||||
if(is_networked && pSoldier->bSide==0)
|
||||
{
|
||||
}
|
||||
else
|
||||
{
|
||||
continue;// ie dont render
|
||||
}
|
||||
}
|
||||
|
||||
// Don't render guys if they are dead!
|
||||
|
||||
Reference in New Issue
Block a user