review uses of GetTrail

This commit is contained in:
Chris Danford
2004-05-24 06:07:59 +00:00
parent d65404e750
commit 6f75a3d920
8 changed files with 20 additions and 15 deletions
+2
View File
@@ -33,6 +33,8 @@ void TrailID::FromTrail( const Trail *p )
Trail *TrailID::ToTrail( const Course *p, bool bAllowNull ) const
{
ASSERT( p );
if( st == STEPS_TYPE_INVALID || cd == COURSE_DIFFICULTY_INVALID )
return NULL;