diff options
author | Eugene Sandulenko | 2008-09-21 10:23:22 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2008-09-21 10:23:22 +0000 |
commit | 297d4228d38a8321b9df8c72f22e7a372de22d0c (patch) | |
tree | 2259b205f26a7b49fc421ffa3daa0051a34df832 /engines/cruise/cruise_main.cpp | |
parent | 727b220d25c217fde2dd1095ee5fa5f9509fc5f1 (diff) | |
download | scummvm-rg350-297d4228d38a8321b9df8c72f22e7a372de22d0c.tar.gz scummvm-rg350-297d4228d38a8321b9df8c72f22e7a372de22d0c.tar.bz2 scummvm-rg350-297d4228d38a8321b9df8c72f22e7a372de22d0c.zip |
Patch #2054467: CRUISE: 64bits fixes
svn-id: r34622
Diffstat (limited to 'engines/cruise/cruise_main.cpp')
-rw-r--r-- | engines/cruise/cruise_main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/cruise/cruise_main.cpp b/engines/cruise/cruise_main.cpp index 5d16c6e68a..7064f81a90 100644 --- a/engines/cruise/cruise_main.cpp +++ b/engines/cruise/cruise_main.cpp @@ -243,7 +243,7 @@ ovlData3Struct *scriptFunc1Sub2(int32 scriptNumber, int32 param) { return NULL; } - return ((ovlData3Struct *) (ovlData->ptr1 + param * 0x1C)); + return &ovlData->ptr1[param]; } void scriptFunc2(int scriptNumber, scriptInstanceStruct * scriptHandle, |