mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 23:01:50 +00:00
- 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:
parent
77d9978b27
commit
56a42a26b2
1 changed files with 1 additions and 0 deletions
|
@ -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),
|
||||||
|
|
Loading…
Reference in a new issue