If we autogen from a steps that was saved to disk, then the

autogenned steps are logically saved to disk, too: there's
no need to save them.
This commit is contained in:
Glenn Maynard
2006-11-12 04:45:01 +00:00
parent 0955501855
commit 29961e9101
+2 -2
View File
@@ -42,8 +42,8 @@ public:
void SetFilename( RString fn ) { m_sFilename = fn; }
RString GetFilename() const { return m_sFilename; }
void SetSavedToDisk( bool b ) { m_bSavedToDisk = b; }
bool GetSavedToDisk() const { return m_bSavedToDisk; }
void SetSavedToDisk( bool b ) { DeAutogen(); m_bSavedToDisk = b; }
bool GetSavedToDisk() const { return Real()->m_bSavedToDisk; }
void SetDifficulty( Difficulty dc ) { SetDifficultyAndDescription( dc, GetDescription() ); }
void SetDescription( RString sDescription ) { SetDifficultyAndDescription( this->GetDifficulty(), sDescription ); }
void SetDifficultyAndDescription( Difficulty dc, RString sDescription );