- Fixed GCC and Clang compilation errors.

This commit is contained in:
Edoardo Prezioso 2016-04-02 23:01:32 +02:00
commit 28ac65b25b
3 changed files with 7 additions and 4 deletions

View file

@ -3169,7 +3169,8 @@ static void R_RenderDecal (side_t *wall, DBaseDecal *decal, drawseg_t *clipper,
break;
}
fixed_t fzpos = FLOAT2FIXED(zpos);
fixed_t fzpos;
fzpos = FLOAT2FIXED(zpos); // pacify GCC
topoff = WallSpriteTile->TopOffset << FRACBITS;
dc_texturemid = topoff + FixedDiv (fzpos - viewz, yscale);