- adapted AActor to use TFlags
This commit is contained in:
parent
830a7ee003
commit
ca012bc9be
17 changed files with 127 additions and 92 deletions
|
|
@ -1590,7 +1590,7 @@ bool P_CheckPosition(AActor *thing, fixed_t x, fixed_t y, bool actorsonly)
|
|||
|
||||
bool P_TestMobjLocation(AActor *mobj)
|
||||
{
|
||||
int flags;
|
||||
ActorFlags flags;
|
||||
|
||||
flags = mobj->flags;
|
||||
mobj->flags &= ~MF_PICKUP;
|
||||
|
|
@ -4916,7 +4916,7 @@ EXTERN_CVAR(Int, cl_bloodtype)
|
|||
|
||||
bool P_AdjustFloorCeil(AActor *thing, FChangePosition *cpos)
|
||||
{
|
||||
int flags2 = thing->flags2 & MF2_PASSMOBJ;
|
||||
ActorFlags2 flags2 = thing->flags2 & MF2_PASSMOBJ;
|
||||
FCheckPosition tm;
|
||||
|
||||
if ((thing->flags2 & MF2_PASSMOBJ) && (thing->flags3 & MF3_ISMONSTER))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue