From db619f1ed663df0b64d0027121ae57d9a1c7a563 Mon Sep 17 00:00:00 2001 From: James R Date: Wed, 23 Mar 2022 13:52:59 -0700 Subject: [PATCH] Fix bad merge @ 37e16db41e --- src/r_plane.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/r_plane.c b/src/r_plane.c index 7f0b42cd3..ccd4994ce 100644 --- a/src/r_plane.c +++ b/src/r_plane.c @@ -209,7 +209,7 @@ static void R_MapPlane(INT32 y, INT32 x1, INT32 x2) ds_colormap = planezlight[pindex]; if (currentplane->extra_colormap) - ds_colormap = currentplane->extra_colormap->colormap; + ds_colormap = currentplane->extra_colormap->colormap + (ds_colormap - colormaps); ds_fullbright = colormaps; if (encoremap && !currentplane->noencore)