Skip to content

Commit

Permalink
DIRECTOR: Fix copy/paste error
Browse files Browse the repository at this point in the history
  • Loading branch information
sev- committed Jan 16, 2017
1 parent 657e541 commit 541a715
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engines/director/resource.cpp
Expand Up @@ -259,7 +259,7 @@ void DirectorEngine::loadSharedCastsFrom(Common::String filename) {
}

Common::Array<uint16> sound = shardcst->getResourceIDList(MKTAG('S','N','D',' '));
if (stxt.size() != 0) {
if (sound.size() != 0) {
debugC(3, kDebugLoading, "Loading %d SNDs", sound.size());
for (Common::Array<uint16>::iterator iterator = sound.begin(); iterator != sound.end(); ++iterator) {
debugC(3, kDebugLoading, "Shared SND %d", *iterator);
Expand Down

0 comments on commit 541a715

Please sign in to comment.