mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-11 05:36:12 +00:00
DIRECTOR: Do not try to compile all text resources except first one
This commit is contained in:
parent
1a5ad0de5a
commit
ff628a6b62
@ -160,11 +160,7 @@ void Score::loadArchive() {
|
||||
Common::Array<uint16> stxt = _movieArchive->getResourceIDList(MKTAG('S','T','X','T'));
|
||||
|
||||
if (stxt.size() > 0) {
|
||||
Common::Array<uint16>::iterator iterator;
|
||||
|
||||
for (iterator = stxt.begin(); iterator != stxt.end(); ++iterator) {
|
||||
loadScriptText(*_movieArchive->getResource(MKTAG('S','T','X','T'), *iterator));
|
||||
}
|
||||
loadScriptText(*_movieArchive->getResource(MKTAG('S','T','X','T'), *stxt.begin()));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user