- floatified sidedef texture info and fixed two bugs involving this data.

This commit is contained in:
Christoph Oelckers 2016-04-23 09:41:59 +02:00
commit 4d4f31fd83
6 changed files with 62 additions and 109 deletions

View file

@ -1447,7 +1447,7 @@ void R_DrawSkyPlane (visplane_t *pl)
// to allow sky rotation as well as careful positioning.
// However, the offset is scaled very small, so that it
// allows a long-period of sky rotation.
skyangle += s->GetTextureXOffset(pos);
skyangle += FLOAT2FIXED(s->GetTextureXOffsetF(pos));
// Vertical offset allows careful sky positioning.
skymid = s->GetTextureYOffsetF(pos) - 28;