diff options
Diffstat (limited to 'engines/queen/graphics.cpp')
-rw-r--r-- | engines/queen/graphics.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/queen/graphics.cpp b/engines/queen/graphics.cpp index 70f7d7c94b..d98ddd635f 100644 --- a/engines/queen/graphics.cpp +++ b/engines/queen/graphics.cpp @@ -522,7 +522,7 @@ void Graphics::setBobText(const BobSlot *pbs, const char *text, int textX, int t // Calc text position - short x, y, width, height; + short x, y, width; if (flags) { if (flags == 2) @@ -540,7 +540,7 @@ void Graphics::setBobText(const BobSlot *pbs, const char *text, int textX, int t BobFrame *pbf = _vm->bankMan()->fetchFrame(pbs->frameNum); width = (pbf->width * pbs->scale) / 100; - height = (pbf->height * pbs->scale) / 100; + short height = (pbf->height * pbs->scale) / 100; y = y - height - 16 - lineCount * 9; } |