mirror of
https://github.com/edubart/otclient.git
synced 2025-10-19 05:53:26 +02:00
Merge branch 'master' of https://github.com/edubart/otclient
This commit is contained in:
@@ -110,7 +110,7 @@ void Image::blit(const Point& dest, const ImagePtr& other)
|
||||
int y = p / other->getWidth();
|
||||
int pos = ((dest.y + y) * m_size.width() + (dest.x + x)) * 4;
|
||||
|
||||
if(otherPixels[p*4+3] == 0xFF) {
|
||||
if (otherPixels[p*4+3] != 0) {
|
||||
m_pixels[pos+0] = otherPixels[p*4+0];
|
||||
m_pixels[pos+1] = otherPixels[p*4+1];
|
||||
m_pixels[pos+2] = otherPixels[p*4+2];
|
||||
|
Reference in New Issue
Block a user