Don't break UDMF maces (why am I even checking UDMF in binary conversion code)
This commit is contained in:
parent
1485e96311
commit
2f23cedf19
2 changed files with 2 additions and 2 deletions
|
|
@ -11118,7 +11118,7 @@ static boolean P_SetupMace(mapthing_t *mthing, mobj_t *mobj, boolean *doangle)
|
|||
mnumspokes = mthing->args[1] + 1;
|
||||
mspokeangle = FixedAngle((360*FRACUNIT)/mnumspokes) >> ANGLETOFINESHIFT;
|
||||
mwidth = max(0, mthing->args[2]);
|
||||
mspeed = abs(mthing->args[3]);
|
||||
mspeed = abs(mthing->args[3] << (udmf ? 4 : 0));
|
||||
mphase = mthing->args[4] % 360;
|
||||
mpinch = mthing->args[5] % 360;
|
||||
mnumnospokes = mthing->args[6];
|
||||
|
|
|
|||
|
|
@ -7160,7 +7160,7 @@ static void P_ConvertBinaryThingTypes(void)
|
|||
mapthings[i].pitch = lines[j].frontsector->floorheight >> FRACBITS;
|
||||
mapthings[i].args[0] = lines[j].dx >> FRACBITS;
|
||||
mapthings[i].args[1] = mapthings[i].extrainfo;
|
||||
mapthings[i].args[3] = lines[j].dy >> (FRACBITS-4);
|
||||
mapthings[i].args[3] = lines[j].dy >> FRACBITS;
|
||||
mapthings[i].args[4] = sides[lines[j].sidenum[0]].textureoffset >> FRACBITS;
|
||||
mapthings[i].args[7] = -sides[lines[j].sidenum[0]].rowoffset >> FRACBITS;
|
||||
if (lines[j].backsector)
|
||||
|
|
|
|||
Loading…
Reference in a new issue