aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/vocabulary.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sci/vocabulary.cpp')
-rw-r--r--engines/sci/vocabulary.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/vocabulary.cpp b/engines/sci/vocabulary.cpp
index c25f045561..40b5be3da9 100644
--- a/engines/sci/vocabulary.cpp
+++ b/engines/sci/vocabulary.cpp
@@ -242,7 +242,7 @@ void Vocabulary::freeSuffixes() {
resource = _resmgr->findResource(kResourceTypeVocab, VOCAB_RESOURCE_SCI1_SUFFIX_VOCAB, 0);
if (resource)
- _resmgr->unlockResource(resource, resource->number, kResourceTypeVocab);
+ _resmgr->unlockResource(resource, resource->id.number, kResourceTypeVocab);
_parserSuffixes.clear();
}