diff options
Diffstat (limited to 'engines/cruise/backgroundIncrust.cpp')
-rw-r--r-- | engines/cruise/backgroundIncrust.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/cruise/backgroundIncrust.cpp b/engines/cruise/backgroundIncrust.cpp index 4145ef0b44..0bcdbe12db 100644 --- a/engines/cruise/backgroundIncrust.cpp +++ b/engines/cruise/backgroundIncrust.cpp @@ -109,7 +109,7 @@ backgroundIncrustStruct *addBackgroundIncrust(int16 overlayIdx, newElement->Y = params.Y; newElement->scale = params.scale; newElement->field_E = params.fileIdx; - newElement->var34 = filesDatabase[params.fileIdx].subData.index; + newElement->aniX = filesDatabase[params.fileIdx].subData.index; newElement->ptr = NULL; strcpy(newElement->name, filesDatabase[params.fileIdx].subData.name); @@ -176,7 +176,7 @@ void loadBackgroundIncrustFromSave(FILE *fileHandle) { fread(¤t->field_22, 2, 1, fileHandle); fread(¤t->field_24, 2, 1, fileHandle); fread(current->name, 14, 1, fileHandle); - fread(¤t->var34, 2, 1, fileHandle); + fread(¤t->aniX, 2, 1, fileHandle); if (current->size) { current->ptr = (uint8 *) mallocAndZero(current->size); |