- floatified the few remaining linedef and sector properties that still were fixed_t. The only fixed point things left in r_defs.h are the nodes and a fixed point setter function for vertex_t, which is still needed by the node builder.
This commit is contained in:
parent
31845cd16b
commit
0f99d7d73f
21 changed files with 101 additions and 110 deletions
|
|
@ -196,8 +196,8 @@ static int WriteSECTORS (FILE *file)
|
|||
|
||||
for (int i = 0; i < numsectors; ++i)
|
||||
{
|
||||
ms.floorheight = LittleShort(short(sectors[i].GetPlaneTexZF(sector_t::floor)));
|
||||
ms.ceilingheight = LittleShort(short(sectors[i].GetPlaneTexZF(sector_t::ceiling)));
|
||||
ms.floorheight = LittleShort(short(sectors[i].GetPlaneTexZ(sector_t::floor)));
|
||||
ms.ceilingheight = LittleShort(short(sectors[i].GetPlaneTexZ(sector_t::ceiling)));
|
||||
uppercopy (ms.floorpic, GetTextureName (sectors[i].GetTexture(sector_t::floor)));
|
||||
uppercopy (ms.ceilingpic, GetTextureName (sectors[i].GetTexture(sector_t::ceiling)));
|
||||
ms.lightlevel = LittleShort((short)sectors[i].lightlevel);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue