- 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:
parent
7308979c44
commit
2dff0e7309
3 changed files with 7 additions and 4 deletions
|
|
@ -2173,6 +2173,9 @@ void P_LoadLineDefs (MapData * map)
|
|||
// [RH] Translate old linedef special and flags to be
|
||||
// compatible with the new format.
|
||||
|
||||
mld->special = LittleShort(mld->special);
|
||||
mld->tag = LittleShort(mld->tag);
|
||||
mld->flags = LittleShort(mld->flags);
|
||||
P_TranslateLineDef (ld, mld, -1);
|
||||
// do not assign the tag for Extradata lines.
|
||||
if (ld->special != Static_Init || (ld->args[1] != Init_EDLine && ld->args[1] != Init_EDSector))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue