Fixed harmless initialization order mismatch

No more 'field ... will be initialized after field ...' warnings reported by GCC/Clang
This commit is contained in:
alexey.lysiuk 2017-01-05 15:50:10 +02:00 committed by Christoph Oelckers
parent 0e9f52f9e5
commit 1a0d8dffd9
2 changed files with 2 additions and 2 deletions

View file

@ -136,10 +136,10 @@ 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),
Sprite(0),
ID(id),
processPending(true)
{

View file

@ -42,7 +42,7 @@
FWarpTexture::FWarpTexture (FTexture *source, int warptype)
: GenTime (0), SourcePic (source), Pixels (0), Spans (0), Speed (1.f)
: GenTime (0), Speed (1.f), SourcePic (source), Pixels (0), Spans (0)
{
CopyInfo(source);
if (warptype == 2) SetupMultipliers(256, 128);