mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-09-30 22:41:17 +00:00
Use standard buffer types for TPD extraction
This commit is contained in:
@@ -1280,7 +1280,7 @@ void CScene_MultiGameJoinLoad::UpdateGamesList()
|
||||
app.GetTPD(sessionInfo->data.texturePackParentId,&pbData,&dwBytes);
|
||||
|
||||
// is it in the tpd data ?
|
||||
DWORD tpdImageBytes = 0;
|
||||
unsigned int tpdImageBytes = 0;
|
||||
app.GetFileFromTPD(eTPDFileType_Icon,pbData,dwBytes,&imageData,&tpdImageBytes );
|
||||
imageBytes = static_cast<std::uint32_t>(tpdImageBytes);
|
||||
if(imageBytes > 0 && imageData)
|
||||
|
||||
Reference in New Issue
Block a user