mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
fix an accidental double byteswap that broke progs for big-endian machines
This commit is contained in:
parent
316386b542
commit
08210bc93f
1 changed files with 1 additions and 1 deletions
|
@ -1115,7 +1115,7 @@ PR_LoadProgsFile (progs_t * pr, const char *progsname)
|
|||
pr->pr_functions =
|
||||
(dfunction_t *) ((byte *) pr->progs + pr->progs->ofs_functions);
|
||||
pr->pr_strings = (char *) pr->progs + pr->progs->ofs_strings;
|
||||
pr->pr_stringsize = LittleLong (pr->progs->numstrings);
|
||||
pr->pr_stringsize = pr->progs->numstrings;
|
||||
pr->pr_globaldefs =
|
||||
(ddef_t *) ((byte *) pr->progs + pr->progs->ofs_globaldefs);
|
||||
pr->pr_fielddefs =
|
||||
|
|
Loading…
Reference in a new issue