- started floatification on p_map.cpp.
This commit is contained in:
parent
00ea8662b8
commit
6e93264016
10 changed files with 171 additions and 226 deletions
|
|
@ -142,8 +142,8 @@ void DDoor::Tick ()
|
|||
// killough 10/98: implement gradual lighting effects
|
||||
if (m_LightTag != 0 && m_TopDist != -m_Sector->floorplane.d)
|
||||
{
|
||||
EV_LightTurnOnPartway (m_LightTag, FixedDiv (m_Sector->ceilingplane.d + m_Sector->floorplane.d,
|
||||
m_TopDist + m_Sector->floorplane.d));
|
||||
EV_LightTurnOnPartway (m_LightTag,
|
||||
FIXED2DBL(FixedDiv (m_Sector->ceilingplane.d + m_Sector->floorplane.d, m_TopDist + m_Sector->floorplane.d)));
|
||||
}
|
||||
|
||||
if (res == pastdest)
|
||||
|
|
@ -188,8 +188,8 @@ void DDoor::Tick ()
|
|||
// killough 10/98: implement gradual lighting effects
|
||||
if (m_LightTag != 0 && m_TopDist != -m_Sector->floorplane.d)
|
||||
{
|
||||
EV_LightTurnOnPartway (m_LightTag, FixedDiv (m_Sector->ceilingplane.d + m_Sector->floorplane.d,
|
||||
m_TopDist + m_Sector->floorplane.d));
|
||||
EV_LightTurnOnPartway (m_LightTag,
|
||||
FIXED2DBL(FixedDiv (m_Sector->ceilingplane.d + m_Sector->floorplane.d, m_TopDist + m_Sector->floorplane.d)));
|
||||
}
|
||||
|
||||
if (res == pastdest)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue