mirror of
https://github.com/GabsPuNs/Project-Zenith-Main.git
synced 2026-06-08 19:12:17 +00:00
Fix DLCs crashing
This commit is contained in:
@@ -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 )
|
||||
|
||||
Reference in New Issue
Block a user