1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-10-08 23:22:25 +02:00

better outline matching H3

This commit is contained in:
Laserlicht
2025-07-12 14:29:11 +02:00
parent f0c24c0ffa
commit e43df04ae1
2 changed files with 43 additions and 45 deletions

View File

@@ -324,7 +324,7 @@ std::shared_ptr<SDLImageShared> RenderHandler::loadScaledImage(const ImageLocato
if(isShadow && generateShadow)
img = img->drawShadow((*locator.generateShadow) == SharedImageLocator::ShadowMode::SHADOW_SHEAR);
if(isOverlay && generateOverlay && (*locator.generateOverlay) == SharedImageLocator::OverlayMode::OVERLAY_OUTLINE)
img = img->drawOutline(Colors::WHITE, getScalingFactor());
img = img->drawOutline(Colors::WHITE, 1);
}
return img;