- Added SXF_TRANSFERROLL.

This commit is contained in:
MajorCooke 2015-02-14 16:51:05 -06:00
commit 0f4bca8607
2 changed files with 7 additions and 0 deletions

View file

@ -1875,6 +1875,7 @@ enum SIX_Flags
SIXF_NOPOINTERS = 0x00400000,
SIXF_ORIGINATOR = 0x00800000,
SIXF_TRANSFERSPRITEFRAME = 0x01000000,
SIXF_TRANSFERROLL = 0x02000000,
};
static bool InitSpawnedItem(AActor *self, AActor *mo, int flags)
@ -2027,6 +2028,11 @@ static bool InitSpawnedItem(AActor *self, AActor *mo, int flags)
mo->frame = self->frame;
}
if (flags & SIXF_TRANSFERROLL)
{
mo->roll = self->roll;
}
return true;
}