- fixed: DPSprite's constructor did not initialize the 'Sprite' member variable. This can cause problems if some weapon starts with a placeholder sprite in the first state.

This commit is contained in:
Christoph Oelckers 2016-12-12 12:32:48 +01:00
parent 77d9978b27
commit 56a42a26b2

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