- changed line_t's sidenum into sidedef pointers.

git-svn-id: http://mancubus.net/svn/hosted/gzdoom/trunk@445 b0f79afe-0144-0410-b225-9a4edf0717df
This commit is contained in:
Christoph Oelckers 2009-09-06 21:11:24 +00:00
parent 3140480059
commit 44fcd47cdf
38 changed files with 253 additions and 241 deletions

View file

@ -1290,7 +1290,7 @@ void R_DrawSkyPlane (visplane_t *pl)
const line_t *l = &lines[(pl->sky & ~PL_SKYFLAT)-1];
// Sky transferred from first sidedef
const side_t *s = *l->sidenum + sides;
const side_t *s = l->sidedef[0];
int pos;
// Texture comes from upper texture of reference sidedef