mirror of
https://github.com/1dot13/source.git
synced 2026-09-16 14:47:17 +02:00
Fix: tanks automatically uncovered spies
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@7456 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -15930,7 +15930,7 @@ BOOLEAN SOLDIERTYPE::RecognizeAsCombatant( UINT8 ubTargetID )
|
|||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
||||||
// check for for vehicles and creatures... weird things happen
|
// check for for vehicles and creatures... weird things happen
|
||||||
if ( IsVehicle( pSoldier ) || IsVehicle( this ) || pSoldier->bTeam == CREATURE_TEAM || this->bTeam == CREATURE_TEAM )
|
if ( IsVehicle( pSoldier ) || pSoldier->bTeam == CREATURE_TEAM || this->bTeam == CREATURE_TEAM )
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
||||||
// if from same team, do not uncover
|
// if from same team, do not uncover
|
||||||
|
|||||||
Reference in New Issue
Block a user