| 965 | } |
| 966 | |
| 967 | float EntityAIType::GetIRScanRange() const |
| 968 | { |
| 969 | float eyeRange = ENGINE_CONFIG.tacticalZ; |
| 970 | float irRange = eyeRange * _irScanToEyeFactor; |
| 971 | saturate(irRange, _irScanRangeMin, _irScanRangeMax); |
| 972 | return irRange; |
| 973 | } |
| 974 | |
| 975 | LSError Serialize(ParamArchive& ar, RString name, const EntityType*& value, int minVersion) |
| 976 | { |
no test coverage detected