aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/kyra/screen.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/engines/kyra/screen.cpp b/engines/kyra/screen.cpp
index efccf8f760..902b1c29da 100644
--- a/engines/kyra/screen.cpp
+++ b/engines/kyra/screen.cpp
@@ -2675,7 +2675,6 @@ void Screen::loadBitmap(const char *filename, int tempPage, int dstPage, uint8 *
}
if (_vm->gameFlags().platform == Common::kPlatformAmiga) {
- const char *ext = filename + strlen(filename) - 3;
if (!scumm_stricmp(ext, "MSC"))
Screen::convertAmigaMsc(dstData);
else