- fixed: P_TranslateLinedef should not do any byte swapping but require passing of properly ordered values.

This gets called from several places, and the only one passing in potentially byte swapped values is P_LoadLineDefs.
All other uses of this function were essentially broken on PowerPC.
This commit is contained in:
Christoph Oelckers 2017-05-04 23:52:16 +02:00
commit 2dff0e7309
3 changed files with 7 additions and 4 deletions

View file

@ -106,7 +106,7 @@ struct maplinedef_t
uint16_t v1;
uint16_t v2;
uint16_t flags;
int16_t special;
uint16_t special;
int16_t tag;
uint16_t sidenum[2]; // sidenum[1] will be -1 if one sided