fix "Trail RadarValues off by -1"
This commit is contained in:
@@ -7,15 +7,21 @@
|
||||
|
||||
RadarValues::RadarValues()
|
||||
{
|
||||
Init();
|
||||
MakeUnknown();
|
||||
}
|
||||
|
||||
void RadarValues::Init()
|
||||
void RadarValues::MakeUnknown()
|
||||
{
|
||||
FOREACH_RadarCategory( rc )
|
||||
m_fValues[rc] = RADAR_VAL_UNKNOWN;
|
||||
}
|
||||
|
||||
void RadarValues::Zero()
|
||||
{
|
||||
FOREACH_RadarCategory( rc )
|
||||
m_fValues[rc] = 0;
|
||||
}
|
||||
|
||||
XNode* RadarValues::CreateNode() const
|
||||
{
|
||||
XNode* pNode = new XNode;
|
||||
|
||||
Reference in New Issue
Block a user