mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-24 21:11:39 +00:00
Merge branch 'setmasterfix' of https://github.com/MajorCooke/zdoom
This commit is contained in:
commit
c2377ff8e1
1 changed files with 4 additions and 0 deletions
|
@ -1843,6 +1843,10 @@ static bool InitSpawnedItem(AActor *self, AActor *mo, int flags)
|
||||||
// If this is a missile or something else set the target to the originator
|
// If this is a missile or something else set the target to the originator
|
||||||
mo->target = originator ? originator : self;
|
mo->target = originator ? originator : self;
|
||||||
}
|
}
|
||||||
|
if (flags & SIXF_SETMASTER)
|
||||||
|
{
|
||||||
|
mo->master = originator;
|
||||||
|
}
|
||||||
if (flags & SIXF_TRANSFERSCALE)
|
if (flags & SIXF_TRANSFERSCALE)
|
||||||
{
|
{
|
||||||
mo->scaleX = self->scaleX;
|
mo->scaleX = self->scaleX;
|
||||||
|
|
Loading…
Reference in a new issue