From b0306828341232518e3deaf183e3c116f52aec31 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sun, 20 Jul 2008 17:52:12 +0000 Subject: [PATCH] - Fixed: When copying visplanes the sky texture was forgotten. SVN r1077 (trunk) --- docs/rh-log.txt | 1 + src/r_plane.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/docs/rh-log.txt b/docs/rh-log.txt index 1d607e93b..c975e6040 100644 --- a/docs/rh-log.txt +++ b/docs/rh-log.txt @@ -1,4 +1,5 @@ July 20, 2008 (Changes by Graf Zahl) +- Fixed: When copying visplanes the sky texture was forgotten. - converted the boss brain to DECORATE. - added an abstract base class for special map spots that are maintained in lists and rewrote the boss brain, the mace and DSparil to use it. diff --git a/src/r_plane.cpp b/src/r_plane.cpp index 89f5c70c3..ca932d8f3 100644 --- a/src/r_plane.cpp +++ b/src/r_plane.cpp @@ -701,6 +701,7 @@ visplane_t *R_CheckPlane (visplane_t *pl, int start, int stop) new_pl->viewy = pl->viewy; new_pl->viewz = pl->viewz; new_pl->viewangle = pl->viewangle; + new_pl->sky = pl->sky; pl = new_pl; pl->minx = start; pl->maxx = stop;