Skip to content

Commit

Permalink
Add missing endian fix up
Browse files Browse the repository at this point in the history
  • Loading branch information
Toodles2You committed Dec 7, 2024
1 parent e44c1b7 commit 09c0dc9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Quake/gl_model.c
Original file line number Diff line number Diff line change
Expand Up @@ -711,6 +711,7 @@ static texture_t *Mod_LoadWadTexture (qmodel_t *mod, wad_t *wads, const char *na
// we might as well use the value since it *does* exist
FS_fseek (&wad->fh, info->filepos + pixels, SEEK_SET);
FS_fread (&colors, 1, 2, &wad->fh);
colors = LittleShort (colors);
// add space for the color palette
pixels += 2 + colors * 3;
}
Expand Down

0 comments on commit 09c0dc9

Please sign in to comment.