Fix lights not being copied when a visplane is duplicated

This commit is contained in:
Magnus Norddahl 2016-12-23 03:54:57 +01:00
parent b0a96af220
commit 175701ac5d

View file

@ -684,6 +684,7 @@ visplane_t *R_CheckPlane (visplane_t *pl, int start, int stop)
new_pl->CurrentPortalUniq = pl->CurrentPortalUniq; new_pl->CurrentPortalUniq = pl->CurrentPortalUniq;
new_pl->MirrorFlags = pl->MirrorFlags; new_pl->MirrorFlags = pl->MirrorFlags;
new_pl->CurrentSkybox = pl->CurrentSkybox; new_pl->CurrentSkybox = pl->CurrentSkybox;
new_pl->lights = pl->lights;
pl = new_pl; pl = new_pl;
pl->left = start; pl->left = start;
pl->right = stop; pl->right = stop;