This commit is contained in:
Glenn Maynard
2004-05-26 02:46:35 +00:00
parent bb2c2c38a6
commit c2d5ca167f
2 changed files with 2 additions and 9 deletions
+2 -8
View File
@@ -656,8 +656,8 @@ void Course::GetTrailUnsorted( StepsType st, CourseDifficulty cd, Trail &trail )
/* This applies difficult mode for meter ranges. (If it's a difficulty
* class, we'll do it below.) */
int low_meter, high_meter;
GetMeterRange( i, low_meter, high_meter, entry_difficulty );
int low_meter = m_entries[i].low_meter;
int high_meter = m_entries[i].high_meter;
switch( e.type )
{
@@ -901,12 +901,6 @@ bool Course::IsFixed() const
return true;
}
void Course::GetMeterRange( int stage, int& iMeterLowOut, int& iMeterHighOut, CourseDifficulty cd ) const
{
iMeterLowOut = m_entries[stage].low_meter;
iMeterHighOut = m_entries[stage].high_meter;
}
bool Course::GetTotalSeconds( StepsType st, float& fSecondsOut ) const
{
-1
View File
@@ -141,7 +141,6 @@ public:
private:
void GetTrailUnsorted( StepsType st, CourseDifficulty cd, Trail &trail ) const;
void GetMeterRange( int stage, int& iMeterLowOut, int& iMeterHighOut, CourseDifficulty cd ) const;
typedef pair<StepsType,CourseDifficulty> TrailParams;
typedef map<TrailParams, Trail> TrailCache;