mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
dont cut overlays & shadows
This commit is contained in:
@@ -974,7 +974,7 @@ SDL_Surface * CSDL_Ext::drawShadow(SDL_Surface * source, bool doSheer)
|
||||
assert(destSurface->format->format == SDL_PIXELFORMAT_ARGB8888);
|
||||
|
||||
double shearX = doSheer ? 0.5 : 0.0;
|
||||
double scaleY = 0.25;
|
||||
double scaleY = doSheer ? 0.5 : 0.25;
|
||||
|
||||
int lowestSource = getLowestNonTransparentY(sourceSurface);
|
||||
int lowestTransformed = lowestSource * scaleY;
|
||||
|
||||
Reference in New Issue
Block a user