mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-11 15:22:16 +00:00
This commit is contained in:
commit
b50ff986a6
2 changed files with 2 additions and 1 deletions
|
@ -136,6 +136,7 @@ DPSprite::DPSprite(player_t *owner, AActor *caller, int id)
|
||||||
: x(.0), y(.0),
|
: x(.0), y(.0),
|
||||||
oldx(.0), oldy(.0),
|
oldx(.0), oldy(.0),
|
||||||
firstTic(true),
|
firstTic(true),
|
||||||
|
Sprite(0),
|
||||||
Flags(0),
|
Flags(0),
|
||||||
Caller(caller),
|
Caller(caller),
|
||||||
Owner(owner),
|
Owner(owner),
|
||||||
|
|
|
@ -164,7 +164,7 @@ extend class Actor
|
||||||
{
|
{
|
||||||
target = self;
|
target = self;
|
||||||
}
|
}
|
||||||
else if (target != null && (self.target.player != null || (Flags & AMF_TARGETNONPLAYER)))
|
else if (self.target != null && (self.target.player != null || (Flags & AMF_TARGETNONPLAYER)))
|
||||||
{
|
{
|
||||||
target = self.target;
|
target = self.target;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue