mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 14:51:40 +00:00
- Removed WARPF_MULHEIGHT. Enable its ability by default.
- WARPF_ADDHEIGHT will simply change HeightOffset from multiplying to adding by default.
This commit is contained in:
parent
7e661dfe57
commit
54af1e379e
3 changed files with 1 additions and 3 deletions
|
@ -199,7 +199,6 @@ enum WARPF
|
|||
WARPF_USEPTR = 0x2000,
|
||||
WARPF_USETID = 0x2000,
|
||||
WARPF_ADDHEIGHT = 0x4000,
|
||||
WARPF_MULHEIGHT = 0x8000,
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -698,7 +698,7 @@ int P_Thing_Warp(AActor *caller, AActor *reference, fixed_t xofs, fixed_t yofs,
|
|||
{
|
||||
zofs += reference->height + heightoffset;
|
||||
}
|
||||
else if (flags & WARPF_MULHEIGHT)
|
||||
else
|
||||
{
|
||||
zofs += FixedMul(reference->height, heightoffset);
|
||||
}
|
||||
|
|
|
@ -362,7 +362,6 @@ Const Int WARPF_BOB = 0x800;
|
|||
Const Int WARPF_MOVEPTR = 0x1000;
|
||||
Const Int WARPF_USETID = 0x2000;
|
||||
Const Int WARPF_ADDHEIGHT = 0x4000;
|
||||
Const Int WARPF_MULHEIGHT = 0x8000;
|
||||
|
||||
// flags for A_SetPitch/SetAngle/SetRoll
|
||||
const int SPF_FORCECLAMP = 1;
|
||||
|
|
Loading…
Reference in a new issue