diff --git a/src/r_bsp.h b/src/r_bsp.h index 97b8c2e8..e871b5dd 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 64b339d0..8730bcef 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 9faee429..11b4c8ae 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