- 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
1 changed files with 1 additions and 0 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),