This commit is contained in:
lalien
2006-05-30 20:25:13 +00:00
parent df56cf0ff9
commit ba211d76b6
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -1182,6 +1182,7 @@ INT16 DistanceVisible( SOLDIERTYPE *pSoldier, INT8 bFacingDir, INT8 bSubjectDir,
// Snap: this takes care of all equipment bonuses at all light levels
// The rest is special code for robots, bloodcats and NO specialists
// Lalien: change to % instead of tiles, add bonus only to front view when using scope
if (!sideViewLimit)
{
sDistVisible += sDistVisible * GetTotalVisionRangeBonus(pSoldier, bLightLevel) / 100;