diff options
Diffstat (limited to 'engines/kyra/resource.cpp')
-rw-r--r-- | engines/kyra/resource.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/resource.cpp b/engines/kyra/resource.cpp index 3cf8336e7f..5929490f6d 100644 --- a/engines/kyra/resource.cpp +++ b/engines/kyra/resource.cpp @@ -374,7 +374,7 @@ Common::SeekableReadStream *Resource::getFileStream(const Common::String &file) return loader->loadFileFromArchive(file, parent, iter->_value); } else { Common::File *stream = new Common::File(); - if (!stream->open(file.c_str())) { + if (!stream->open(file)) { warning("Couldn't open file '%s'", file.c_str()); return 0; } |