- Fixed GCC and Clang compilation errors.
This commit is contained in:
parent
6ffb5fa164
commit
28ac65b25b
3 changed files with 7 additions and 4 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue