diff options
author | Martin Kiewitz | 2010-08-30 10:18:31 +0000 |
---|---|---|
committer | Martin Kiewitz | 2010-08-30 10:18:31 +0000 |
commit | 1067a72769d93e6eff77d0c968a7c3926e663087 (patch) | |
tree | 23b4abdb42645b4f46a396f3ac2d4429136b2030 | |
parent | 154099d0a4fac94a5e9ae811a4e14d1d8e3e0244 (diff) | |
download | scummvm-rg350-1067a72769d93e6eff77d0c968a7c3926e663087.tar.gz scummvm-rg350-1067a72769d93e6eff77d0c968a7c3926e663087.tar.bz2 scummvm-rg350-1067a72769d93e6eff77d0c968a7c3926e663087.zip |
SCI: adding comments for r52450
svn-id: r52451
-rw-r--r-- | engines/sci/engine/kfile.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/engine/kfile.cpp b/engines/sci/engine/kfile.cpp index a70ada5458..498891c5bc 100644 --- a/engines/sci/engine/kfile.cpp +++ b/engines/sci/engine/kfile.cpp @@ -923,8 +923,8 @@ void DirSeeker::addAsVirtualFiles(Common::String title, Common::String fileMask) Common::SeekableReadStream *testfile = saveFileMan->openForLoading(regularFilename); int32 testfileSize = testfile->size(); delete testfile; - if (testfileSize > 1024) - continue; + if (testfileSize > 1024) // check, if larger than 1k. in that case its a saved game. + continue; // and we dont want to have those in the list // We need to remove the prefix for display purposes _files.push_back(wrappedFilename); // but remember the actual name as well |