This commit is contained in:
Rachael Alexanderson 2016-12-12 08:26:19 -05:00
commit b50ff986a6
2 changed files with 2 additions and 1 deletions

View file

@ -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),

View file

@ -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;
}