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

View File

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