mirror of
https://github.com/1dot13/source.git
synced 2026-09-09 14:46:05 +02:00
- updated solier tooltip again
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@626 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -104,14 +104,13 @@ void SoldierTooltip( SOLDIERTYPE* pSoldier )
|
|||||||
} // gGameExternalOptions.fEnableDynamicSoldierTooltips
|
} // gGameExternalOptions.fEnableDynamicSoldierTooltips
|
||||||
|
|
||||||
|
|
||||||
// WANNE: Check if enemy soldier is in line of sight only if player has not chosen full or debug details
|
// WANNE: Check if enemy soldier is in line of sight but only if player has not choosen debug details
|
||||||
if ( ubTooltipDetailLevel < DL_Full)
|
if ( ubTooltipDetailLevel < DL_Debug)
|
||||||
{
|
{
|
||||||
// Get the current selected merc
|
// Get the current selected merc
|
||||||
SOLDIERTYPE* pMerc = MercPtrs[ gusSelectedSoldier ];
|
SOLDIERTYPE* pMerc = MercPtrs[ gusSelectedSoldier ];
|
||||||
|
|
||||||
if ( pMerc->bOppList[pSoldier->ubID] != SEEN_CURRENTLY )
|
if ( pMerc->bOppList[pSoldier->ubID] != SEEN_CURRENTLY )
|
||||||
//if (ManLooksForMan(pMerc, pSoldier, 1) == FALSE)
|
|
||||||
{
|
{
|
||||||
// We do not see the enemy. Return and do not display the tooltip.
|
// We do not see the enemy. Return and do not display the tooltip.
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user