diff --git a/Minecraft.Client/BufferedImage.cpp b/Minecraft.Client/BufferedImage.cpp index 70335397..fd0bbf3f 100644 --- a/Minecraft.Client/BufferedImage.cpp +++ b/Minecraft.Client/BufferedImage.cpp @@ -124,7 +124,7 @@ BufferedImage::BufferedImage(DLCPack *dlcPack, const wstring& File, bool filenam D3DXIMAGE_INFO ImageInfo = {}; hr=RenderManager.LoadTextureData(pbData,dwBytes,&ImageInfo,&data[l]); - if (hr == ERROR_SUCCESS) + if (hr != ERROR_SUCCESS) { // 4J - If we haven't loaded the non-mipmap version then exit the game if ( l == 0 )