mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-18 02:21:47 +00:00
A_OrbitNights: Move donotrescale
to bit 19
* For compat with `nights-ideyaspawn`
This commit is contained in:
parent
ce0b23a576
commit
67ee9d082d
1 changed files with 5 additions and 4 deletions
|
@ -8544,14 +8544,15 @@ void A_ToggleFlameJet(mobj_t* actor)
|
||||||
// var1 = Angle adjustment (aka orbit speed)
|
// var1 = Angle adjustment (aka orbit speed)
|
||||||
// var2:
|
// var2:
|
||||||
// Lower 16 bits: height offset
|
// Lower 16 bits: height offset
|
||||||
// Bits 17-20: set if object is Nightopian Helper
|
// Bit 17: set if object is Nightopian Helper
|
||||||
// Bits 21-24: set to not sync scale to player
|
// Bit 18: Unused
|
||||||
|
// Bit 19: set to not sync scale to player
|
||||||
//
|
//
|
||||||
void A_OrbitNights(mobj_t* actor)
|
void A_OrbitNights(mobj_t* actor)
|
||||||
{
|
{
|
||||||
INT32 ofs = (var2 & 0xFFFF);
|
INT32 ofs = (var2 & 0xFFFF);
|
||||||
boolean ishelper = (var2 & 0xF0000);
|
boolean ishelper = (var2 & 0x10000);
|
||||||
boolean donotrescale = (var2 & 0xF00000);
|
boolean donotrescale = (var2 & 0x40000);
|
||||||
#ifdef HAVE_BLUA
|
#ifdef HAVE_BLUA
|
||||||
if (LUA_CallAction("A_OrbitNights", actor))
|
if (LUA_CallAction("A_OrbitNights", actor))
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue