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), : 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),
Sprite(0),
ID(id), ID(id),
processPending(true) processPending(true)
{ {

View File

@ -42,7 +42,7 @@
FWarpTexture::FWarpTexture (FTexture *source, int warptype) 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); CopyInfo(source);
if (warptype == 2) SetupMultipliers(256, 128); if (warptype == 2) SetupMultipliers(256, 128);