mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-03 00:46:55 +02:00
minors:
- fixes missing line of pixels with Chinese fonts - disabling a mod won't disable all its requirements as well
This commit is contained in:
@ -1284,7 +1284,7 @@ void CTextContainer::blitLine(SDL_Surface *to, Rect destRect, std::string what)
|
||||
f->renderTextLeft(to, toPrint, color, where);
|
||||
begin = end;
|
||||
|
||||
destRect.x += f->getStringWidth(toPrint);
|
||||
where.x += f->getStringWidth(toPrint);
|
||||
}
|
||||
currDelimeter++;
|
||||
}
|
||||
|
Reference in New Issue
Block a user