diff options
author | Max Horn | 2009-02-22 20:48:42 +0000 |
---|---|---|
committer | Max Horn | 2009-02-22 20:48:42 +0000 |
commit | 4a6d6e8988da69ea992c7305f91906a8cae363d8 (patch) | |
tree | 2374a5a54da4c5ddb8b2329269b2ede341c51d45 /engines/sci/engine/game.cpp | |
parent | fa16c9d3868f488d544f5b888006f85474984c6d (diff) | |
download | scummvm-rg350-4a6d6e8988da69ea992c7305f91906a8cae363d8.tar.gz scummvm-rg350-4a6d6e8988da69ea992c7305f91906a8cae363d8.tar.bz2 scummvm-rg350-4a6d6e8988da69ea992c7305f91906a8cae363d8.zip |
SCI: Moved the code which iterates over the current dir into a small class
svn-id: r38793
Diffstat (limited to 'engines/sci/engine/game.cpp')
-rw-r--r-- | engines/sci/engine/game.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/engines/sci/engine/game.cpp b/engines/sci/engine/game.cpp index 83a62c57b0..87dd1aa4f9 100644 --- a/engines/sci/engine/game.cpp +++ b/engines/sci/engine/game.cpp @@ -518,9 +518,7 @@ int script_init_engine(EngineState *s, sci_version_t version) { s->file_handles = (FILE**)sci_calloc(sizeof(FILE *), s->file_handles_nr); // Allocate memory for file handles - sci_init_dir(&(s->dirseeker)); - s->dirseeker_outbuffer = NULL_REG; - // Those two are used by FileIO for FIND_FIRST, FIND_NEXT + s->dirseeker = 0; // Used by FileIO for FIND_FIRST, FIND_NEXT if (s->version >= SCI_VERSION_FTU_LOFS_ABSOLUTE && s->version < SCI_VERSION(1, 001, 000)) |