From d624add74243152fa6639ba43cd04f6cfd816447 Mon Sep 17 00:00:00 2001 From: Sven Hesse Date: Sat, 10 Nov 2007 18:24:23 +0000 Subject: Muting the compiler :P svn-id: r29468 --- engines/cruise/backgroundIncrust.cpp | 4 ++-- engines/cruise/cruise_main.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'engines') diff --git a/engines/cruise/backgroundIncrust.cpp b/engines/cruise/backgroundIncrust.cpp index 5a8bfe8f17..e0670517ad 100644 --- a/engines/cruise/backgroundIncrust.cpp +++ b/engines/cruise/backgroundIncrust.cpp @@ -72,7 +72,7 @@ void restoreBackground(backgroundIncrustStruct *pIncrust) if(pBackground == NULL) return; - int X = pIncrust->savedX; + //int X = pIncrust->savedX; int Y = pIncrust->savedY; int width = pIncrust->saveWidth; int height = pIncrust->saveHeight; @@ -257,7 +257,7 @@ void regenerateBackgroundIncrust(backgroundIncrustStruct *pHead) { bool bLoad = false; int frame = pl->field_E; - int screen = pl->backgroundIdx; + //int screen = pl->backgroundIdx; if((filesDatabase[frame].subData.ptr == NULL) || (strcmp(pl->name, filesDatabase[frame].subData.name))) { frame = 257 - 1; diff --git a/engines/cruise/cruise_main.cpp b/engines/cruise/cruise_main.cpp index 2ae2ceb987..5d220bc818 100644 --- a/engines/cruise/cruise_main.cpp +++ b/engines/cruise/cruise_main.cpp @@ -345,10 +345,10 @@ int loadFileSub1(uint8 **ptr, const char *name, uint8 *ptr2) { } } - getFileExtention((char *)name, buffer); + getFileExtention(name, buffer); if (!strcmp(buffer, ".SPL")) { - removeExtention((char *)name, buffer); + removeExtention(name, buffer); // if (useH32) { -- cgit v1.2.3