fix HL wads loading incorrectly

This commit is contained in:
Jonathan 2023-07-16 19:53:22 -04:00
parent 99be5a84bc
commit 312184e3bb
1 changed files with 1 additions and 1 deletions

View File

@ -232,7 +232,7 @@ std::optional<texture> load_mip(
}
if (valid_mip_palette) {
stream.seekg(header.offsets[3] + mip3_size + palette_size);
stream.seekg(header.offsets[3] + mip3_size);
uint16_t num_colors;
stream >= num_colors;