Polymost parallax sky fix.

git-svn-id: https://svn.eduke32.com/eduke32@5152 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2015-04-18 21:37:10 +00:00
parent abc53d5006
commit 2a65ba123c

View file

@ -2553,7 +2553,7 @@ static void polymost_drawalls(int32_t const bunch)
DO_TILE_ANIM(globalpicnum, sectnum);
int32_t dapskybits;
int8_t const * const dapskyoff = getpsky(globalpicnum, NULL, &dapskybits);
int8_t const * dapskyoff = getpsky(globalpicnum, NULL, &dapskybits);
global_cf_fogpal = sec->fogpal;
global_cf_shade = sec->floorshade, global_cf_pal = sec->floorpal; global_cf_z = sec->floorz; // REFACT
@ -2816,7 +2816,7 @@ static void polymost_drawalls(int32_t const bunch)
DO_TILE_ANIM(globalpicnum, sectnum);
// dapskyoff = getpsky(globalpicnum, NULL, &dapskybits);
dapskyoff = getpsky(globalpicnum, NULL, &dapskybits);
global_cf_fogpal = sec->fogpal;
global_cf_shade = sec->ceilingshade, global_cf_pal = sec->ceilingpal; global_cf_z = sec->ceilingz; // REFACT