ULTIMA8: Fix x offset of Crusader movie subtitle background

This commit is contained in:
Matthew Duggan 2021-08-14 13:00:44 +09:00
parent bbe846fd2a
commit d317df77d2

View File

@ -206,7 +206,7 @@ void MovieGump::PaintThis(RenderSurface *surf, int32 lerp_factor, bool scaled) {
subtitle->GetDims(textdims);
surf->GetSurfaceDims(screendims);
surf->Fill32(surf->getPixelFormat().RGBToColor(0, 0, 0),
screendims.width() / 2 - 300,
screendims.width() / 2 - 300 - screendims.left,
y - 3,
600,
textdims.height() + 5);