mirror of
https://github.com/1dot13/source.git
synced 2026-08-26 14:30:26 +02:00
-removed inlightatnight checks
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@281 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -1309,10 +1309,6 @@ INT16 FindSpotMaxDistFromOpponents(SOLDIERTYPE *pSoldier)
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
//Madd: skip lighted spots
|
|
||||||
if ( InLightAtNight( sGridNo, pSoldier->bLevel ) )
|
|
||||||
continue;
|
|
||||||
|
|
||||||
// OK, this place shows potential. How useful is it as cover?
|
// OK, this place shows potential. How useful is it as cover?
|
||||||
//NumMessage("Promising seems gridno #",gridno);
|
//NumMessage("Promising seems gridno #",gridno);
|
||||||
|
|
||||||
@@ -2498,9 +2494,6 @@ INT16 FindFlankingSpot(SOLDIERTYPE *pSoldier, INT16 sPos, INT8 bAction )
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
//Madd: skip lighted spots
|
|
||||||
if ( InLightAtNight( sGridNo, pSoldier->bLevel ) )
|
|
||||||
continue;
|
|
||||||
|
|
||||||
// allow an extra direction for flanking
|
// allow an extra direction for flanking
|
||||||
if ( bAction == AI_ACTION_FLANK_LEFT )
|
if ( bAction == AI_ACTION_FLANK_LEFT )
|
||||||
|
|||||||
Reference in New Issue
Block a user