Explorar o código

Update BitmapHandler.cpp

Nordsoft91 %!s(int64=3) %!d(string=hai) anos
pai
achega
fef3b7652b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      mapeditor/BitmapHandler.cpp

+ 1 - 1
mapeditor/BitmapHandler.cpp

@@ -81,7 +81,7 @@ namespace BitmapHandler
 		}
 		else
 		{
-			QImage image(pcx + it, width, height, width * 4, QImage::Format_RGB32);
+			QImage image(pcx + it, width, height, width * 3, QImage::Format_RGB888);
 			return image;
 		}
 	}