fix crash on exiting editor

clean up invalidation of Song and Courses
This commit is contained in:
Chris Danford
2004-08-12 04:49:15 +00:00
parent cbe80105fb
commit 873c148f0e
7 changed files with 35 additions and 22 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ public:
StepsID() { Unset(); }
void Unset() { FromSteps(NULL); }
void FromSteps( const Steps *p );
Steps *ToSteps( const Song *p, bool bAllowNull ) const;
Steps *ToSteps( const Song *p, bool bAllowNull, bool bUseCache = true ) const;
bool operator<( const StepsID &rhs ) const;
bool MatchesStepsType( StepsType s ) const { return st == s; }