fix HL wads loading incorrectly
This commit is contained in:
parent
99be5a84bc
commit
312184e3bb
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue