mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-24 21:31:46 +00:00
Clear thing flags for NiGHTS bumpers/hoops again
This commit is contained in:
parent
32a40e3dbe
commit
40d9614c32
1 changed files with 2 additions and 0 deletions
|
@ -6783,6 +6783,7 @@ static void P_ConvertBinaryThingTypes(void)
|
|||
break;
|
||||
case 1704: //NiGHTS bumper
|
||||
mapthings[i].pitch = 30 * (((mapthings[i].options & 15) + 9) % 12);
|
||||
mapthings[i].options &= ~0xF;
|
||||
break;
|
||||
case 1705: //Hoop
|
||||
case 1713: //Hoop (Customizable)
|
||||
|
@ -6791,6 +6792,7 @@ static void P_ConvertBinaryThingTypes(void)
|
|||
mapthings[i].angle = (mapthings[i].extrainfo == 1) ? oldangle - 90 : ((oldangle >> 8)*360)/256;
|
||||
mapthings[i].pitch = (mapthings[i].extrainfo == 1) ? oldangle / 360 : ((oldangle & 255)*360)/256;
|
||||
mapthings[i].args[0] = (mapthings[i].type == 1705) ? 96 : (mapthings[i].options & 0xF)*16 + 32;
|
||||
mapthings[i].options &= ~0xF;
|
||||
mapthings[i].type = 1713;
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue