diff --git a/src/r_bsp.h b/src/r_bsp.h index 97b8c2e8c7c192be847400b9231e7aecf67c53a9..e871b5dde5c6ae704b5d772d06371f94e62ad361 100644 --- a/src/r_bsp.h +++ b/src/r_bsp.h @@ -33,8 +33,6 @@ extern drawseg_t *drawsegs; extern drawseg_t *ds_p; extern INT32 doorclosed; -typedef void (*drawfunc_t)(INT32 start, INT32 stop); - // BSP? void R_ClearClipSegs(void); void R_PortalClearClipSegs(INT32 start, INT32 end); diff --git a/src/r_plane.h b/src/r_plane.h index 64b339d04df17b5a12bfeca8618ace66bd0c8e6a..8730bcefd9e530cf99bfbe83b93895fb7026de11 100644 --- a/src/r_plane.h +++ b/src/r_plane.h @@ -73,7 +73,6 @@ extern visplane_t *ceilingplane; // Visplane related. extern INT16 *lastopening, *openings; extern size_t maxopenings; -typedef void (*planefunction_t)(INT32 top, INT32 bottom); extern INT16 floorclip[MAXVIDWIDTH], ceilingclip[MAXVIDWIDTH]; extern fixed_t frontscale[MAXVIDWIDTH], yslopetab[MAXVIDHEIGHT*4]; diff --git a/src/r_segs.c b/src/r_segs.c index 9faee429bdc22a9a395d972a8fe92b8fdd345ec8..11b4c8aefd7b031755478bfd99bc661b0b35de0b 100644 --- a/src/r_segs.c +++ b/src/r_segs.c @@ -2480,7 +2480,7 @@ void R_StoreWallRange(INT32 start, INT32 stop) ds_p->maskedtexturecol = ds_p->thicksidecol; #ifdef ESLOPE - maskedtextureheight = &(ds_p->maskedtextureheight[0]); // ???? + maskedtextureheight = ds_p->maskedtextureheight; // note to red, this == &(ds_p->maskedtextureheight[0]) // Set midtexture starting height if (linedef->flags & ML_EFFECT2) { // Ignore slopes when texturing