diff options
author | Max Horn | 2009-10-18 19:41:59 +0000 |
---|---|---|
committer | Max Horn | 2009-10-18 19:41:59 +0000 |
commit | 2bbf708deaf2d60c70786ec1ef2f9ea0d1f0bd4a (patch) | |
tree | 3aac193c0b0419c50f72690bdfa77016ea413464 /engines/teenagent | |
parent | 64861f1e40ee5084bcbfa3e5bd3adbe746d7dfc5 (diff) | |
download | scummvm-rg350-2bbf708deaf2d60c70786ec1ef2f9ea0d1f0bd4a.tar.gz scummvm-rg350-2bbf708deaf2d60c70786ec1ef2f9ea0d1f0bd4a.tar.bz2 scummvm-rg350-2bbf708deaf2d60c70786ec1ef2f9ea0d1f0bd4a.zip |
Introduced new type Common::DisposeAfterUse::Flag
svn-id: r45233
Diffstat (limited to 'engines/teenagent')
-rw-r--r-- | engines/teenagent/pack.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/teenagent/pack.cpp b/engines/teenagent/pack.cpp index 8e9ec9b5de..fc1918acb4 100644 --- a/engines/teenagent/pack.cpp +++ b/engines/teenagent/pack.cpp @@ -78,7 +78,7 @@ Common::SeekableReadStream *Pack::getStream(uint32 id) const { if (id < 1 || id > count) return 0; debug(0, "stream: %04x-%04x", offsets[id - 1], offsets[id]); - return new Common::SeekableSubReadStream(&file, offsets[id - 1], offsets[id], false); + return new Common::SeekableSubReadStream(&file, offsets[id - 1], offsets[id], Common::DisposeAfterUse::NO); } } // End of namespace TeenAgent |