diff --git a/stepmania/src/CryptHelpers.cpp b/stepmania/src/CryptHelpers.cpp index ecf00dc35c..499af6acb6 100644 --- a/stepmania/src/CryptHelpers.cpp +++ b/stepmania/src/CryptHelpers.cpp @@ -95,7 +95,6 @@ unsigned int RageFileStore::CopyRangeTo2(BufferedTransformation &target, unsigne m_file.Seek( current ); return blockedBytes; } - m_file.Seek( current ); } // TODO: figure out what happens on cin diff --git a/stepmania/src/CryptHelpers.h b/stepmania/src/CryptHelpers.h index cbb45d68b9..106b201d13 100644 --- a/stepmania/src/CryptHelpers.h +++ b/stepmania/src/CryptHelpers.h @@ -33,7 +33,7 @@ public: private: void StoreInitialize(const NameValuePairs ¶meters); - mutable RageFile m_file; // mutable so that we can call RageFile::GetFileSize() + mutable RageFile m_file; // mutable because reading from a file is not a const operation byte *m_space; unsigned int m_len; bool m_waiting;