From 1a0d8dffd9a753e0cbf1865c99d4873868522b6d Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Thu, 5 Jan 2017 15:50:10 +0200 Subject: [PATCH] Fixed harmless initialization order mismatch No more 'field ... will be initialized after field ...' warnings reported by GCC/Clang --- src/p_pspr.cpp | 2 +- src/textures/warptexture.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/p_pspr.cpp b/src/p_pspr.cpp index 238412bb6d..a6a5812289 100644 --- a/src/p_pspr.cpp +++ b/src/p_pspr.cpp @@ -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) { diff --git a/src/textures/warptexture.cpp b/src/textures/warptexture.cpp index a8a2ddb9e1..ee08148d20 100644 --- a/src/textures/warptexture.cpp +++ b/src/textures/warptexture.cpp @@ -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);