diff options
Diffstat (limited to 'engines/sci/engine/features.cpp')
-rw-r--r-- | engines/sci/engine/features.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/features.cpp b/engines/sci/engine/features.cpp index e37a1651ef..40d380195d 100644 --- a/engines/sci/engine/features.cpp +++ b/engines/sci/engine/features.cpp @@ -448,7 +448,7 @@ SciVersion GameFeatures::detectMessageFunctionType() { // Only v2 Message resources use the kGetMessage kernel function. // v3-v5 use the kMessage kernel function. - if (READ_SCI11ENDIAN_UINT32(res->data) / 1000 == 2) + if (res->getUint32SEAt(0) / 1000 == 2) _messageFunctionType = SCI_VERSION_1_LATE; else _messageFunctionType = SCI_VERSION_1_1; |