diff options
Diffstat (limited to 'engines/scumm/verbs.cpp')
-rw-r--r-- | engines/scumm/verbs.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/scumm/verbs.cpp b/engines/scumm/verbs.cpp index 3bd1d664cd..8272795e6b 100644 --- a/engines/scumm/verbs.cpp +++ b/engines/scumm/verbs.cpp @@ -814,7 +814,6 @@ void ScummEngine::drawVerbBitmap(int verb, int x, int y) { int imgw, imgh; int i, tmp; byte *obim; - const ImageHeader *imhd; uint32 size; if ((vs = findVirtScreen(y)) == NULL) @@ -841,7 +840,7 @@ void ScummEngine::drawVerbBitmap(int verb, int x, int y) { imgh = (*(obim + size + 17)) / 8; imptr = getObjectImage(obim, 1); } else { - imhd = (const ImageHeader *)findResourceData(MKID_BE('IMHD'), obim); + const ImageHeader *imhd = (const ImageHeader *)findResourceData(MKID_BE('IMHD'), obim); if (_game.version >= 7) { imgw = READ_LE_UINT16(&imhd->v7.width) / 8; imgh = READ_LE_UINT16(&imhd->v7.height) / 8; |