diff options
Diffstat (limited to 'engines/mohawk/file.cpp')
| -rw-r--r-- | engines/mohawk/file.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/mohawk/file.cpp b/engines/mohawk/file.cpp index feeffd042b..31d9188feb 100644 --- a/engines/mohawk/file.cpp +++ b/engines/mohawk/file.cpp @@ -31,7 +31,6 @@ namespace Mohawk { MohawkFile::MohawkFile() { _mhk = NULL; - _curFile = Common::String::emptyString; _types = NULL; _fileTable = NULL; } @@ -51,7 +50,7 @@ void MohawkFile::close() { delete[] _types; _types = NULL; delete[] _fileTable; _fileTable = NULL; - _curFile = Common::String::emptyString; + _curFile.clear(); } void MohawkFile::open(Common::SeekableReadStream *stream) { |
