mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-11 15:21:51 +00:00
Fix lights not being copied when a visplane is duplicated
This commit is contained in:
parent
b0a96af220
commit
175701ac5d
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue