diff --git a/src/r_things.c b/src/r_things.c index ff9e2395a..602dd3545 100644 --- a/src/r_things.c +++ b/src/r_things.c @@ -130,7 +130,7 @@ static void R_InstallSpriteLump(UINT16 wad, // graphics patch { char cn = R_Frame2Char(frame); // for debugging - INT32 r, ang; + INT32 r; lumpnum_t lumppat = wad; lumppat <<= 16; lumppat += lump; @@ -828,9 +828,9 @@ static void R_DrawFlippedMaskedColumn(column_t *column, INT32 texheight) static void R_DrawVisSprite(vissprite_t *vis) { column_t *column; - void (*localcolfunc)(column_t *); +#ifdef RANGECHECK INT32 texturecolumn; - INT32 pwidth; +#endif fixed_t frac; patch_t *patch = vis->patch; fixed_t this_scale = vis->thingscale; @@ -1205,8 +1205,6 @@ static void R_ProjectSprite(mobj_t *thing) fixed_t scalestep; // toast '16 fixed_t offset, offset2; boolean papersprite = (thing->frame & FF_PAPERSPRITE); - fixed_t paperoffset = 0, paperdistance = 0; - angle_t centerangle = 0; //SoM: 3/17/2000 fixed_t gz, gzt; diff --git a/src/r_things.h b/src/r_things.h index 4d246e7d8..39be3c3f1 100644 --- a/src/r_things.h +++ b/src/r_things.h @@ -136,10 +136,7 @@ typedef struct vissprite_s fixed_t thingscale; // the object's scale fixed_t sortscale; // sortscale only differs from scale for flat sprites fixed_t scalestep; // only for flat sprites, 0 otherwise - fixed_t paperoffset, paperdistance; // for paper sprites, offset/dist relative to the angle fixed_t xiscale; // negative if flipped - - angle_t centerangle; // for paper sprites fixed_t texturemid; patch_t *patch;