SVN r51 (trunk)

This commit is contained in:
Christoph Oelckers 2006-04-17 13:53:34 +00:00
commit 36e37becb5
14 changed files with 167 additions and 41 deletions

View file

@ -189,6 +189,7 @@ fixed_t openrange;
fixed_t lowfloor;
extern int tmfloorpic;
sector_t *openbottomsec;
sector_t *opentopsec;
void P_LineOpening (const line_t *linedef, fixed_t x, fixed_t y, fixed_t refx, fixed_t refy)
{
@ -212,6 +213,7 @@ void P_LineOpening (const line_t *linedef, fixed_t x, fixed_t y, fixed_t refx, f
/*Printf ("]]]]]] %d %d\n", ff, bf);*/
opentopsec = fc < bc? front : back;
opentop = fc < bc ? fc : bc;
bool usefront;
@ -241,14 +243,14 @@ void P_LineOpening (const line_t *linedef, fixed_t x, fixed_t y, fixed_t refx, f
openbottom = ff;
openbottomsec = front;
lowfloor = bf;
tmfloorpic = front->floorpic;
//tmfloorpic = front->floorpic;
}
else
{
openbottom = bf;
openbottomsec = back;
lowfloor = ff;
tmfloorpic = back->floorpic;
//tmfloorpic = back->floorpic;
}
openrange = opentop - openbottom;