diff options
Diffstat (limited to 'engines/cruise')
-rw-r--r-- | engines/cruise/ctp.cpp | 4 | ||||
-rw-r--r-- | engines/cruise/overlay.cpp | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/engines/cruise/ctp.cpp b/engines/cruise/ctp.cpp index b45b6dc866..3c81c4d561 100644 --- a/engines/cruise/ctp.cpp +++ b/engines/cruise/ctp.cpp @@ -154,7 +154,7 @@ void makeCtStruct(uint8* str, int16 table[][40], int num, int z) { a1 = a2 = (int16*)str; a2 += sizeof(int16*) / sizeof(int16) + 6; // skip header - + int16* XArray = XMIN_XMAX; int minY = *XArray++; @@ -179,7 +179,7 @@ void makeCtStruct(uint8* str, int16 table[][40], int num, int z) { adrStructPoly = (uint8*)a2; *(uint16**)a2 = (uint16*)-1; //chained list terminator - + a1+=sizeof(int16*); *a1++=num; *a1++=walkboxColor[num]; diff --git a/engines/cruise/overlay.cpp b/engines/cruise/overlay.cpp index 4d476ceaf1..5538e4cd9f 100644 --- a/engines/cruise/overlay.cpp +++ b/engines/cruise/overlay.cpp @@ -134,7 +134,7 @@ int loadOverlay(const char *scriptName) { // Skip pointers s.skip(60); - + ovlData->arrayProc = NULL; ovlData->ptr1 = NULL; ovlData->arrayObject = NULL; @@ -221,7 +221,7 @@ int loadOverlay(const char *scriptName) { if (!ovlData->arrayNameRelocGlob) { return (-2); } - + s.read(ovlData->arrayNameRelocGlob, ovlData->nameExportSize); } @@ -341,7 +341,7 @@ int loadOverlay(const char *scriptName) { ovlData->ptr1[i].var18 = s.readUint16BE(); ovlData->ptr1[i].var1A = s.readUint16BE(); } - + tempPtr = (ovlData3Struct *) ovlData->ptr1; for (i = 0; i < ovlData->numRel; i++) { @@ -400,7 +400,7 @@ int loadOverlay(const char *scriptName) { ovlData->arrayObject[i]._numStates = s.readUint16BE(); ovlData->arrayObject[i]._varTableIdx = s.readUint16BE(); ovlData->arrayObject[i]._firstStateIdx = s.readUint16BE(); - ovlData->arrayObject[i]._stateTableIdx = s.readUint16BE(); + ovlData->arrayObject[i]._stateTableIdx = s.readUint16BE(); } // allocate states for object with multiple states |