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 -1
View File
@@ -23,7 +23,7 @@ INT16 zVersionLabel[256] = { L"Beta v. 0.98" };
#else #else
//RELEASE BUILD VERSION //RELEASE BUILD VERSION
INT16 zVersionLabel[256] = { L"Release v1.13.137" }; INT16 zVersionLabel[256] = { L"Release v1.13.139" };
#endif #endif
+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 // Snap: this takes care of all equipment bonuses at all light levels
// The rest is special code for robots, bloodcats and NO specialists // 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) if (!sideViewLimit)
{ {
sDistVisible += sDistVisible * GetTotalVisionRangeBonus(pSoldier, bLightLevel) / 100; sDistVisible += sDistVisible * GetTotalVisionRangeBonus(pSoldier, bLightLevel) / 100;