aboutsummaryrefslogtreecommitdiff
path: root/engines/sky
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sky')
-rw-r--r--engines/sky/text.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sky/text.cpp b/engines/sky/text.cpp
index d15bc554d1..64f6f00c9e 100644
--- a/engines/sky/text.cpp
+++ b/engines/sky/text.cpp
@@ -343,7 +343,7 @@ void Text::getText(uint32 textNr) { //load text #"textNr" into textBuffer
if (textNr) {
uint8 *blockPtr = textDataPtr + blockNr + READ_LE_UINT16(textDataPtr);
do {
- uint8 skipBytes = *blockPtr++;
+ uint16 skipBytes = *blockPtr++;
if (skipBytes & 0x80) {
skipBytes &= 0x7F;
skipBytes <<= 3;