aboutsummaryrefslogtreecommitdiff
path: root/sky
diff options
context:
space:
mode:
authorMax Horn2003-07-07 00:27:31 +0000
committerMax Horn2003-07-07 00:27:31 +0000
commit0a511147089e2ac4ae58d12bb498b45a2bb8a47a (patch)
treeadc22f3906e5e568c51a62db6180a76c78bc4916 /sky
parent9091a516a28243a89a03e3ba17cb9bf6c1ab2b43 (diff)
downloadscummvm-rg350-0a511147089e2ac4ae58d12bb498b45a2bb8a47a.tar.gz
scummvm-rg350-0a511147089e2ac4ae58d12bb498b45a2bb8a47a.tar.bz2
scummvm-rg350-0a511147089e2ac4ae58d12bb498b45a2bb8a47a.zip
naother dataFileHeader change
svn-id: r8826
Diffstat (limited to 'sky')
-rw-r--r--sky/intro.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/sky/intro.cpp b/sky/intro.cpp
index 41e5dd81cc..93b2f5a26b 100644
--- a/sky/intro.cpp
+++ b/sky/intro.cpp
@@ -426,8 +426,8 @@ void SkyState::showIntroText(uint32 *&cmdPtr) {
uint32 startPos = (yPos * FULL_SCREEN_WIDTH) + xPos;
byte *destBuf = _introTextSpace;
byte *saveBuf = _introTextSave;
- uint16 width = FROM_LE_16(((struct dataFileHeader *)destBuf)->s_width);
- uint16 height = FROM_LE_16(((struct dataFileHeader *)destBuf)->s_height);
+ uint16 width = ((struct dataFileHeader *)destBuf)->s_width;
+ uint16 height = ((struct dataFileHeader *)destBuf)->s_height;
*(uint32 *)saveBuf = TO_LE_32(startPos);
*(uint32 *)(saveBuf + 4) = TO_LE_32(height);