mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-11 15:22:16 +00:00
Fixed compilation errors with GCC/Clang
No more 'error: cannot jump from this goto statement to its label'
This commit is contained in:
parent
6c04439315
commit
079f3bd78c
1 changed files with 2 additions and 2 deletions
|
@ -194,7 +194,7 @@ namespace swrenderer
|
||||||
|
|
||||||
short *mfloorclip = openings + ds->sprbottomclip - ds->x1;
|
short *mfloorclip = openings + ds->sprbottomclip - ds->x1;
|
||||||
short *mceilingclip = openings + ds->sprtopclip - ds->x1;
|
short *mceilingclip = openings + ds->sprtopclip - ds->x1;
|
||||||
|
double spryscale;
|
||||||
|
|
||||||
// [RH] Draw fog partition
|
// [RH] Draw fog partition
|
||||||
if (ds->bFogBoundary)
|
if (ds->bFogBoundary)
|
||||||
|
@ -213,7 +213,7 @@ namespace swrenderer
|
||||||
MaskedSWall = (float *)(openings + ds->swall) - ds->x1;
|
MaskedSWall = (float *)(openings + ds->swall) - ds->x1;
|
||||||
MaskedScaleY = ds->yscale;
|
MaskedScaleY = ds->yscale;
|
||||||
maskedtexturecol = (fixed_t *)(openings + ds->maskedtexturecol) - ds->x1;
|
maskedtexturecol = (fixed_t *)(openings + ds->maskedtexturecol) - ds->x1;
|
||||||
double spryscale = ds->iscale + ds->iscalestep * (x1 - ds->x1);
|
spryscale = ds->iscale + ds->iscalestep * (x1 - ds->x1);
|
||||||
rw_scalestep = ds->iscalestep;
|
rw_scalestep = ds->iscalestep;
|
||||||
|
|
||||||
if (fixedlightlev >= 0)
|
if (fixedlightlev >= 0)
|
||||||
|
|
Loading…
Reference in a new issue