mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-11 15:21:51 +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),
|
||||
oldx(.0), oldy(.0),
|
||||
firstTic(true),
|
||||
Sprite(0),
|
||||
Flags(0),
|
||||
Caller(caller),
|
||||
Owner(owner),
|
||||
|
|
|
@ -164,7 +164,7 @@ extend class Actor
|
|||
{
|
||||
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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue