Fixed uninitialized members in DPSprite class

https://forum.zdoom.org/viewtopic.php?t=60034
This commit is contained in:
alexey.lysiuk 2018-03-30 16:38:51 +03:00
parent 84e9017a5f
commit 408a2f6dab

View file

@ -153,10 +153,13 @@ DPSprite::DPSprite(player_t *owner, AActor *caller, int id)
: x(.0), y(.0),
oldx(.0), oldy(.0),
firstTic(true),
Tics(0),
Flags(0),
Caller(caller),
Owner(owner),
State(nullptr),
Sprite(0),
Frame(0),
ID(id),
processPending(true)
{